[libvirt] [PATCH] hostdev: fix two bugs in virHostdevReAttachPCIDevices