HDFS-7252. small refinement to the use of isInAnEZ in FSNamesystem. (Yi Liu via vinayakumarb)

(cherry picked from commit 368743140dd076ecd5af309c1ed83c5ae2d59fc8)