message: Fix two use-after-move issues flagged in sync-related code
diff: @@ -342,7 +342,7 @@ SharedRealm Permissions::management_realm(std::shared_ptr<SyncUser> user, const
  };
  config.schema_version = 0;
  auto shared_realm = Realm::get_shared_realm(std::move(config));
  - user->register_management_session(config.path);
  + user->register_management_session(shared_realm->config().path);
  return shared_realm;
  }
  @@ -364,6 +364,6 @@ SharedRealm Permissions::permission_realm(std::shared_ptr<SyncUser> user, const
  };
  config.schema_version = 0;
  auto shared_realm = Realm::get_shared_realm(std::move(config));
  - user->register_permission_session(config.path);
  + user->register_permission_session(shared_realm->config().path);
  return shared_realm;
  }
  