libvirt_pci_passthrough: Add a parameter check in the beginning of the test script.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>