Update ax_pthread.m4 to latest upstream version

Might help with https://github.com/behdad/harfbuzz/issues/399
1 file changed