Definitions of local density in density-dependent potentials for mixtures