core/cortex-m: add missing NORETURNs to thread_arch
cpu - stm32f0: fixed NORETURN issue