assist #12385: use ArrayList instead of Vector

Replace some use of `Vector` with `ArrayList`. Should not break Bio-Formats or its API.