qemu*: Improve support for qemuarm and qemux86-64

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>