Suppress warning when compiling deprecated OpenCL function on GNU compilers.