On the potential of Cherenkov Telescope Arrays and KM3 Neutrino Telescopes for the detection of extended sources