Check PGPU not in use before using for passthrough

There was no check for whether the PGPU was in use by vGPUs before using it for PCI-passthrough. This is now done and is done using the same mutex as vGPU allocation.