Baryon loading and the Weibel instability in gamma-ray bursts