opencl: set locale to "C" during initialization. fixes #9467
(cherry picked from commit 092e3cc6b758be46409726dfc1b357e414ccbddb)

Conflicts:
	src/common/opencl.c