[PATCH 6.0 072/124] hwmon: (coretemp) Check for null before removing sysfs attrs