qemu-lib.sh: Add pci device forwarding support

Signed-off-by: Michael Buesch <m@bues.ch>