Hyperviscosity and statistical equilibria of Euler turbulence on the torus and the sphere