Detection of virial shocks in stacked Fermi-LAT galaxy clusters