[PATCH 4.4 18/79] thermal: Fix use-after-free when unregistering thermal zone device