[OpenCL] Use glGetdeviceInfo() to get endian of device, this is workaround of mesa's OpenCL ICD.