Long-Context Sequence Models for Image Retrieval