In-context Continual Learning Assisted by an External Continual Learner