Revert optimization for warpAffine INTER_NEAREST mode
Fixed rounding in remap INTER_LINEAR mode
Fixed calculate_histogram kernel
Fixed extrapolation in pyrDown
Merge pull request #3044 from akarsakov:fix_ocl_tests