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