[PATCH 3/6] virPCIGetVirtualFunctionIndex: Refactor cleanup