QEMU: critical bugfix for semaphore fallback code.