improved cv::matchTemplate OpenCL part