[PATCH 6.1 119/150] mm/memory_hotplug: fix error handling in add_memory_resource()