PCI PM: Check if the state has been saved before trying to restore it