THRIFT-2827: Remove unused tr1/functional include

This appears unused and is causing compilation issues on OS X.