Revert "intel_adsp: cavs: irq: simplify code"
Revert "intel_adsp: cavs: irq: simplify code"

This reverts commit 2241fb0592117fd41207705d09f98be53cdf4d1c.

Fixes #49200

Signed-off-by: Anas Nashif <0d9952ec84ac43c159f6b7e7ed99a9080c00dd6e@intel.com>

finikorg/zephyr,finikorg/zephyr,finikorg/zephyr,galak/zephyr,galak/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,galak/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr