improved performance of cv::ocl::minMax