Add a public constructor compatible with TezSessionState

The public constructor is called from
org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open