[PATCH 4.19 111/205] hwmon: (core) Fix double-free in __hwmon_device_register()