[PATCH 5.10 51/92] hwmon: (coretemp) Check for null before removing sysfs attrs