cuda-converter: fix nvrtc compilation on non-English locale systems
On non-English locale system, g_strdup_printf("%f", 1.0);
returns "1,000000" instead of "1.000000".
This makes NVRTC compilation fail, because the kernel to compile contains things like __constant__ float SCALE_H = 1,000000;