k_oops: force unlock IRQs on ARMv7M
k_oops: force unlock IRQs on ARMv7M

Fixes an issue where if a thread calls k_panic() or k_oops()
with interrupts locked, control would return to the thread
and it would only be aborted after interrupts were unlocked
again.

Signed-off-by: Andrew Boie <aab045b28152628be6af0e556050d0381fd0a34d@intel.com>

holtmann/zephyr,Vudentz/zephyr,kraj/zephyr,rsalveti/zephyr,Vudentz/zephyr,Vudentz/zephyr,ldts/zephyr,aceofall/zephyr-iotos,zephyrproject-rtos/zephyr,finikorg/zephyr,mbolivar/zephyr,runchip/zephyr-cc3220,rsalveti/zephyr,zephyrproject-rtos/zephyr,GiulianoFranchetto/zephyr,sharronliu/zephyr,GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,holtmann/zephyr,zephyriot/zephyr,aceofall/zephyr-iotos,nashif/zephyr,Vudentz/zephyr,kraj/zephyr,explora26/zephyr,holtmann/zephyr,explora26/zephyr,runchip/zephyr-cc3220,fbsder/zephyr,punitvara/zephyr,aceofall/zephyr-iotos,sharronliu/zephyr,explora26/zephyr,finikorg/zephyr,holtmann/zephyr,runchip/zephyr-cc3220,fractalclone/zephyr-riscv,fractalclone/zephyr-riscv,punitvara/zephyr,punitvara/zephyr,explora26/zephyr,fbsder/zephyr,sharronliu/zephyr,aceofall/zephyr-iotos,fractalclone/zephyr-riscv,zephyrproject-rtos/zephyr,rsalveti/zephyr,zephyriot/zephyr,rsalveti/zephyr,mbolivar/zephyr,zephyriot/zephyr,nashif/zephyr,fbsder/zephyr,fbsder/zephyr,sharronliu/zephyr,nashif/zephyr,galak/zephyr,nashif/zephyr,fbsder/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,kraj/zephyr,GiulianoFranchetto/zephyr,zephyrproject-rtos/zephyr,punitvara/zephyr,Vudentz/zephyr,Vudentz/zephyr,punitvara/zephyr,kraj/zephyr,galak/zephyr,mbolivar/zephyr,ldts/zephyr,explora26/zephyr,finikorg/zephyr,GiulianoFranchetto/zephyr,fractalclone/zephyr-riscv,sharronliu/zephyr,nashif/zephyr,aceofall/zephyr-iotos,runchip/zephyr-cc3220,zephyriot/zephyr,mbolivar/zephyr,rsalveti/zephyr,ldts/zephyr,galak/zephyr,fractalclone/zephyr-riscv,kraj/zephyr,galak/zephyr,zephyriot/zephyr,holtmann/zephyr,galak/zephyr,finikorg/zephyr,ldts/zephyr,mbolivar/zephyr,finikorg/zephyr,runchip/zephyr-cc3220