fix sem_timedwait bug introduced in timedwait unification
[musl] / src / signal / restore.c