simplify setting result on thread cancellation
[musl] / src / thread / __unmapself.c