hwmon/coretemp: fix a broken error path