scripts/run.py: Added functions to set qemu_version globally and check qemu_version before adding virtio-rng-pci device to args.