Substitute environment variables in QEMU options' strings.

Environment variables can now be referred in QEMU options' strings
by using the syntax "${variable}".
This is replaced with the environment variable's value.