Fix deadlock in HdfsScanNode.

Change-Id: I74a38f30c7793c4ace9d2446850a42e821f68bf2
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2582
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: jenkins