pci: fix __pci_register_driver error handling