fix race condition in pthread_kill
[musl] / src / signal / restore.c