THRIFT-1361 revert compiler/cpp/src/thrifty.yy change => breaks mingw build => memleak fixes reported by cppcheck