Online Learning via Memory: Retrieval-Augmented Detector Adaptation