Fix performance-inefficient-vector-operation clang-tidy issues

Test: m tidy-art
Bug: 264654008
Merged-In: I6b0b495cbb934f9b8caedb389a643428d3cffc47
(cherry picked from commit d59d4d116f9d40113c32c8b1225388308830b099)
Change-Id: Ic0a52fb2c6842d18b292088135a39d6886b69d46
14 files changed