Micro-optimize GatherIter.