[PATCH 4.19 198/338] PM: core: keep irq flags in device_pm_check_callbacks()