PCI: endpoint: Assign function number for each PF in EPC core