PCI: fix incorrect error return in pci_enable_wake