PIG-4118: Fix hadoopversion 23 compilation due to TEZ-1237/TEZ-1407

git-svn-id: https://svn.apache.org/repos/asf/pig/trunk@1617661 13f79535-47bb-0310-9956-ffa450edef68