Deep faunistic turnovers preceded the rise of dinosaurs in southwestern Pangaea