fix error handling for pthread_sigmask
[musl] / crt / crtn.c