fixing accum_dist and operator() mismatching for HellingerDistance and KL_Divergence
sse2 optimization of inv_sqrt_64f
optimization of cv::minMaxLoc - used min/max
SSE2 optimization of cv::inRange
SSE2 optimization of cv::patchNaNs
imgproc: fix compiler error for gcc 4.8

this bug was introduced in a73809e6.
Merge pull request #2944 from bkueng:fix_compiler_error
Merge pull request #2941 from ilya-lavrenov:sse_inrange
Merge pull request #2937 from ilya-lavrenov:sse_patch_nans
Merge pull request #2929 from ilya-lavrenov:sse_pow
Merge pull request #2669 from Adil-Ibragimov:flann_distance_fix
Merge pull request #2936 from ilya-lavrenov:tapi_minmaxloc_opt