Nucleus-nucleus potential with shell-correction contribution