Rare-Region Onset of Superconductivity in Granular Systems