logcat: Use std::string instead of large static buffer for -Q

Test: gTest logcat-unit-tests
Bug: 35326290
Change-Id: Ieed3223be2d1386897cfba5fa4d04549e72e4e50
1 file changed