馃崚 gsettings: check param exists before setting value
If a param name doesn't exist in a schema, g_settings_set_value
will
crash the program, so make sure the param name exists before setting a
value.
(cherry picked from commit 3c2a5a41)