THRIFT-2701 - compiler: T_ONEWAY type used for oneway methods

https://issues.apache.org/jira/browse/THRIFT-2704