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