small fix for ocl_resize
Merge pull request #3061 from ElenaGvozdeva:ocl_resize