native: refactor getpid calls
native: internal getpid syscall
Merge pull request #1145 from LudwigOrtmann/native_refactor_getpid

native: refactor getpid calls
fix licenses to LGPL fixes #1148
Merge pull request #1157 from thomaseichinger/fix_licenses

mc1322x: redbee-econotag: fix licenses to LGPL