fix sem_close unmapping of still-referenced semaphore
[musl] / src / thread / syscall_cp.c