[PATCH] thermal/of: Fix double free of params during unregistration