Fix `CL_INVALID_PLATFORM` error during initialization.

Which happen with NVIDIA drivers.