On the Gibbs phenomenon for Riesz spherical means of multiple Fourier series and Fourier integrals