HIVE-6038: Fix Tez branch to properly compile against hadoop-1 profile (Gunther Hagleitner)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/tez@1551237 13f79535-47bb-0310-9956-ffa450edef68