Update t_function.h

I have raised a issue regarding it in https://issues.apache.org/jira/browse/THRIFT-2016
Please review the changes and push the changes.