Nucleus-nucleus potential within the semimicroscopic dispersive model on the basis of a corrected folding-model potential