Revert "Hack to fix builds for non-efm32 boards."

This reverts commit 1e62b79366218138e06f206c28bde8c84c72f517.
Reapplying thread_arch hack without accidentally reformatting everything.
See https://github.com/RIOT-OS/RIOT/pull/1855