HDFS-5595: correct aclspec iteration.