[PATCH 4.9 15/32] drivers: thermal: int340x_thermal: Fix sysfs race condition