Fix impala-config.sh when JAVA_HOME not set

Change-Id: Iaefda2039de1a5aafc782bca582d3007abcf6eff
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2803
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
Tested-by: jenkins