Fix Scharr and Sobel functions
Fix Scharr and Sobel functions

Resolves #13375
opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv