posix: Disable debug output of pthreads

`ENABLE_DEBUG` should be enabled during debugging, and disabled afterwards.