PCI hotplug: fix error path in pci_slot's register_slot