qemu.tests: Fix eject media failed for latest linux guest

systemd add new cdrom rules in udev to prevent eject media, so need to disable it
before eject/change media test to avoid test failed for latest linux guest.