PCI PM: Fix saving of device state in pci_legacy_suspend