cpu cortex-m3_common: cleanup thread_arch.c
Merge pull request #1357 from haukepetersen/fix_cortexm3_threading

cpu: cortex-m3_common: cleanup thread_arch.c