fixed kernel compilation of cv::min, cv::max for CV_64F