Causality-aware Safety Testing for Autonomous Driving Systems