[PATCH 4.14 15/92] thermal/int340x_thermal: fix mode setting