qemu.tests: Make boot order check fit for qmp monitor

The output from qmp monitor for pci information is different from
human monitor. This help the scripts run correctly with both qmp
and human monitor.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>