OntheNoiseRobustnessofIn-ContextLearning forTextGeneration