[PATCH 4.19 080/105] hwmon: (coretemp) Check for null before removing sysfs attrs