posix: Disable debug output of pthreads

`DEBUG_ENABLED` should be enabled during debugging, and disabled
afterwards.
Merge pull request #848 from Kijewski/that-annoying-debug-flag-in-pthread-that-effing-needs-to-go-away-already

posix: Disable debug output of pthreads
Merge pull request #853 from authmillenon/fix-test-net-if

tests: Fix test_net_if
Implement CPU serial number getter.
Define CPU id related macros for native
Add test case for cpu_id