PCI: rework pci_set_power_state function to call platform first