Updates for bison 3.5

- %pure-parser is now implied for C++ templates
- must work around auto-generated code printing a std::string* which is
  an error in android-base/logging.h

Bug: 31194194
Test: build
Change-Id: Ia6538a3d03318925cc9d5deab59b1865c4a652c8
6 files changed