qemu: fix configure.

Caused by #17754.

Closes #17785.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>