[gi] Add missing (allow-none) annotations to g_dbus_connection_register_object()