[PATCH v2 2/3] mm/memory_hotplug: fix error handling in add_memory_resource()