HDFS-5616: prevent accidentally serializing ACL entries for OP_ADD and OP_MKDIR when no ACL is in effect