Add second part of clGetDeviceInfo. Add #ifdef for various version of
OpenCL.