[Git][openldap/openldap][mdb.master] ITS#9496 fix mdb_env_open bug from #8704