Gamma Rays from Intergalactic Shocks