[PATCH openEuler-5.10-LTS 445/559] PM: core: keep irq flags in device_pm_check_callbacks()