HIVE-8314 : Restore thrift string interning of HIVE-7975 (Chao via Szehon)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1628795 13f79535-47bb-0310-9956-ffa450edef68