Constraints on warm dark matter models from high-redshift long gamma-ray bursts