Dynamic Prompt Allocation and Tuning for Continual Test-Time Adaptation