Fix panic in qemu_test.go on failure

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Fix QEMU version number parsing

Fix QEMU version number parsing for versions that don't have an explicit
patch level.

Fixes #116.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>