trivial: Use g_ascii_strtod() rather than the locale-specific atof()
Check the generated CCMX matrix for invalid data

We never want to write a CCMX with -nan or +inf values.
trivial: Add a self test for cd_it8_utils_calculate_ccmx()