[PATCH 4.9 129/218] PM: core: keep irq flags in device_pm_check_callbacks()