net: fix qemu_flush_queued_packets() in presence of a hub