[PATCH 6.6 018/268] thermal: int340x: Add NULL check for adev