fixing accum_dist and operator() mismatching for HellingerDistance and KL_Divergence
optimized cv::setIdentity
increased number of rows per work-item
optimized INTER_LINEAR mode
Change global buffer to local
minor optimization of cv::LUT
sse2 optimization of inv_sqrt_64f
Change groups count for Intel
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
Extract imgcodecs module from highgui
Merge pull request #2669 from Adil-Ibragimov:flann_distance_fix
Merge pull request #2936 from ilya-lavrenov:tapi_minmaxloc_opt
OpenCL before IPP