Isotope shifts within the energy-density functional approach with density dependent pairing