semaphores: fix missed wakes from ABA bug in waiter count logic
[musl] / crt / crtn.c