Planck-scale-modified dispersion relations in FRW spacetime