Constraining Lorentz violations with gamma ray bursts