Constraining the High-energy Emission from Gamma-Ray Bursts with Fermi