PCI PM: Add function for checking PME status of devices