check OpenCL version before using CL_MEM_HOST*