powerstats: avoid std::allocator<const T>

std::vector<const T> uses std::allocator<const T>, which is an
undocumented libc++ extension to the C++ standard library. The extension
was removed in llvm.org/PR96319. Use an ordinary non-const T instead.

Bug: http://b/349681543
Test: m MODULES-IN-hardware-google-pixel
Flag: EXEMPT, refactor to fix build failure
Change-Id: I4e126b4f67acf40edbbd62b5339107c4ad92d9a7
3 files changed