Sensitivity of Coulomb-explosion images to the shapes of molecular potentials: The case of He22+