[PATCH 4.14 111/164] thermal: imx: Fix race condition in imx_thermal_probe()