[PATCH 4.9 08/32] thermal: int340x_thermal: Fix a NULL vs IS_ERR() check