make last thread's pthread_exit give exit(0) a consistent state
[musl] / src / thread / syscall_cp.c