THRIFT-2292 fix of android build when too big output stops build with error due to buffer overflow.