Fix compilation. clCreateImage is only available from OpenCL 1.2
onwards.