gobject: Use value_is_valid
Avoid GValue transformation when we can, using the new value_is_valid vfunc. This is particularly useful for string properties, where g_value_transform will make a copy of the string.
Avoid GValue transformation when we can, using the new value_is_valid vfunc. This is particularly useful for string properties, where g_value_transform will make a copy of the string.