SSE2 optimization of cv::patchNaNs