std.unicode: Fix ArrayList functions when using populated ArrayLists

ensureTotalCapacityPrecise only satisfies the assumptions made in the ArrayListImpl functions (that there's already enough capacity for the entire converted string if it's all ASCII) when the ArrayList has no items, otherwise it would hit illegal behavior.
84f4c5d9ccRyan Liptak committed on 4/23/2024, 10:20:38 AMparenta2b834e
1 file changedLine totals unavailable