[SPARK-4935][SQL] When hive.cli.print.header configured, spark-sql aborted if passed in a invalid sql

If we passed in a wrong sql like ```abdcdfsfs```, the spark-sql script aborted. 
Wait, I don't think we should remove this line, although this may cause duplicated error reporting in this specific case, removing this may silent other error messages.