fix multiple definitions of trnsceiver_pid
fix possible access beyond registered upper layer threads
Merge branch 'c++11_compatibility' of https://github.com/BytesGalore/RIOT into c++11_compatibility