Xtensa port: Restore interrupted context the same way as premption resume.
Xtensa port: Restore interrupted context the same way as premption resume.

This was a kind of optimization that save few cycles in the cost of code
duplication. However the path where we resume from interrupt withouch changing
the running thread is buggy and leads to many tests to fail. For now I'd prefer
to remove this optimization and have a working port. Later, once everything is
OK, I'll have time to optimize things.

Change-Id: I7af58f383848d157b9f3b3fbeceede3e83f9ce61
Signed-off-by: Mazen NEIFER <7004bbdb2ec6a96ce3829b3f6e754b7f9ff69de2@nestwave.com>

explora26/zephyr,zephyriot/zephyr,fbsder/zephyr,bigdinotech/zephyr,pklazy/zephyr,tidyjiang8/zephyr-doc,explora26/zephyr,finikorg/zephyr,kraj/zephyr,pklazy/zephyr,zephyrproject-rtos/zephyr,aceofall/zephyr-iotos,bboozzoo/zephyr,Vudentz/zephyr,runchip/zephyr-cc3200,zephyrproject-rtos/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,pklazy/zephyr,galak/zephyr,runchip/zephyr-cc3220,zephyrproject-rtos/zephyr,punitvara/zephyr,fbsder/zephyr,kraj/zephyr,bboozzoo/zephyr,zephyriot/zephyr,fractalclone/zephyr-riscv,sharronliu/zephyr,fbsder/zephyr,explora26/zephyr,holtmann/zephyr,finikorg/zephyr,runchip/zephyr-cc3200,runchip/zephyr-cc3220,pklazy/zephyr,ldts/zephyr,rsalveti/zephyr,GiulianoFranchetto/zephyr,galak/zephyr,Vudentz/zephyr,bigdinotech/zephyr,fractalclone/zephyr-riscv,kraj/zephyr,galak/zephyr,bigdinotech/zephyr,pklazy/zephyr,erwango/zephyr,sharronliu/zephyr,mbolivar/zephyr,ldts/zephyr,sharronliu/zephyr,tidyjiang8/zephyr-doc,kraj/zephyr,holtmann/zephyr,punitvara/zephyr,GiulianoFranchetto/zephyr,sharronliu/zephyr,punitvara/zephyr,finikorg/zephyr,Vudentz/zephyr,punitvara/zephyr,Vudentz/zephyr,runchip/zephyr-cc3220,aceofall/zephyr-iotos,erwango/zephyr,bigdinotech/zephyr,bigdinotech/zephyr,rsalveti/zephyr,fbsder/zephyr,zephyrproject-rtos/zephyr,runchip/zephyr-cc3200,holtmann/zephyr,nashif/zephyr,fractalclone/zephyr-riscv,fbsder/zephyr,rsalveti/zephyr,mbolivar/zephyr,nashif/zephyr,nashif/zephyr,runchip/zephyr-cc3220,rsalveti/zephyr,tidyjiang8/zephyr-doc,bboozzoo/zephyr,sharronliu/zephyr,runchip/zephyr-cc3220,punitvara/zephyr,zephyriot/zephyr,galak/zephyr,finikorg/zephyr,nashif/zephyr,holtmann/zephyr,tidyjiang8/zephyr-doc,erwango/zephyr,galak/zephyr,ldts/zephyr,bboozzoo/zephyr,aceofall/zephyr-iotos,zephyriot/zephyr,tidyjiang8/zephyr-doc,bboozzoo/zephyr,holtmann/zephyr,runchip/zephyr-cc3200,rsalveti/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,fractalclone/zephyr-riscv,aceofall/zephyr-iotos,finikorg/zephyr,explora26/zephyr,erwango/zephyr,mbolivar/zephyr,fractalclone/zephyr-riscv,kraj/zephyr,runchip/zephyr-cc3200,mbolivar/zephyr,zephyriot/zephyr,explora26/zephyr,GiulianoFranchetto/zephyr,ldts/zephyr,erwango/zephyr,aceofall/zephyr-iotos,zephyrproject-rtos/zephyr,nashif/zephyr,mbolivar/zephyr