qemu-thread: Let qemu_thread_is_self() return bool