opencl: make gegl_cl_is_accelerated() a macro

This avoid the function call overhead in code checking whether CL is enabled
or not; the overhead is noticable when profiling buffer access functions.