Fix THRIFT-2799: PHP TJSONProtocol encode unicode into UTF8

fix THRIFT-2799.
For PHP < 5.4, the JSON_UNESCAPED_UNICODE option is not available.