[PATCH 4.14 22/52] drivers: thermal: int340x_thermal: Fix sysfs race condition