[PGO] Add version to getPGOFuncName method