Improve pthread debug when disable property system.

 - Use environment variable PTHREAD_DEBUG for enable pthread debug
Add \n for libc log message