std.ArrayList: use variable for local mutable state

stage1 has the wrong semantics here
0f3e849719Andrew Kelley committed on 3/12/2022, 5:47:24 AMparent491e3ba
1 file changedLine totals unavailable