Fix binary backwards portability for OCL module.

Libraries compiled under OpenCL 1.2 profile will throw error if run with OpenCL 1.1 support when executing ocl setTo and bindTexture functions. This pr is to fix this issue.