param: Add a value_is_valid vfunc
In constrast to value_validate, this one does not modify the passed-in value, so we can avoid the cost of copying the GValue beforehand. It is optional, but we set it for most of the builtin pspec types.
This MR adds new api: g_param_value_is_valid()
Edited by Matthias Clasen