improved performance of cv::ocl::countNonZero