HIVE-8715 : Hive 14 upgrade scripts can fail for statistics if database was created using auto-create ADDENDUM (Sergey Shelukhin, reviewed by Ashutosh Chauhan and Gunther Hagleitner)

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