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