fix some minor issues in cancellation handling patch
[musl] / src / thread / cancellation3.c