Make is_qemu_running() not rely on pidof

On some systems it is not on PATH.