pthread_sigmask: assume POSIX threads if --avoid=threadlib