Try to silence some deprecation warnings under OpenCL 1.2