(ITS#8021) Wrong mdb_env_sync() with at least MDB_RDONLY