CorrectAD: A Self-Correcting Agentic System to Improve End-to-end Planning in Autonomous Driving