qemu.tests: Update the method get qemu and qemu-img binary

Use the function from utils_misc to get the qemu and qemu-img binary.