[PATCH 4.14 12/52] thermal: int340x_thermal: Fix a NULL vs IS_ERR() check