What form is qāmatā in idhā qāmatā?

Imruʾ al-Qays: Earlier Loves, Fragrance, and Dārat Juljul (Verses 7–12)