Address CR comments on HdfsAvroScanner.

Change-Id: Ia92b07e0b0cd16297c0d84f0df5e5eff76788c3e
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2610
Reviewed-by: Marcel Kornacker <marcel@cloudera.com>
Tested-by: jenkins