PCI: fix hotplug get_##name return value problem