Fix ocl moudle build with latest Intel OpenCL SDK.
We found that cl.h file provided in latest Intel SDK muted deprecated interfaces.
Merge pull request #872 from pengx17:2.4_create2dimage_fix