[SPARK-2888] [SQL] Fix fixAddColumnMetadataToConf in HiveTableScan

JIRA: https://issues.apache.org/jira/browse/SPARK-2888