[PATCH 5.4 088/154] thermal: int340x: Add NULL check for adev