fix regression in pthread_cond_wait with cancellation disabled
fix regression in pthread_cond_wait with cancellation disabled

due to a logic error in the use of masked cancellation mode,
pthread_cond_wait did not honor PTHREAD_CANCEL_DISABLE but instead
failed with ECANCELED when cancellation was pending.

chardi/musl,chardi/musl,chardi/musl