ACPI / PM: Use device wakeup flags for handling ACPI wakeup devices