HIVE-8034 - Don't add colon when no port is specified (Brock reviewed by Ashutosh)

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