Revert optimization for warpAffine INTER_NEAREST mode
Fixed rounding in remap INTER_LINEAR mode
Fixed calculate_histogram kernel
Fixed extrapolation in pyrDown