minor optimization of cv::LUT
Merge pull request #2927 from ilya-lavrenov:tapi_lut