Only include pthread.h if the system support pthread
Merge branch 'aix_tls_pthread' of https://github.com/bohe-eaton/nut into aix_tls_pthread