Influence of the momentum dependence of nuclear interactions on heavy-ion potentials