nir: add support for gather offsets