fixed kernel compilation in imgproc module
Merge pull request #1847 from ilya-lavrenov:ocl_imgproc_fix