reorganize thread exit code, make pthread_exit call cancellation handlers (pt2)
[musl] / crt / crtn.c