Injecting Hallucinations in Autonomous Vehicles: A Component-Agnostic Safety Evaluation Framework