fixed condition in cv::FNLM
Merge pull request #2557 from ilya-lavrenov:tapi_fnlm_fix