qemu: add -nographic command line argument

Each time qemu starts a new (graphic) window is created. This is annoying. I'm not sure how this interacts with a test that uses stdout -- the monitor is printed to sdout. An extra fix might be adding '-monitor /dev/null'.