fix handling of EINTR during close()
[musl] / src / thread / syscall_cp.c