core/cortex-m: add missing NORETURNs to thread_arch