Cpsr fix

Adresses the problem with
```
CORE:_assert_log:37: Assertion ‘(read_cpsr() & CPSR_FIA) == CPSR_FIA’ failed at core/arch/arm32/kernel/thread.c:244
```