Issue #8407: skip sigwait() tests if pthread_sigmask() is missing

The new tests now requires pthread_sigmask(). Skip the test if the function is
missing, e.g. if Python is compiled without threads.
1 file changed