[PATCH 5.4 114/153] hwmon: (coretemp) Check for null before removing sysfs attrs