Empty values are not valid GParamSpec
The validate() vfunc for GParamSpecParam returns FALSE for empty GValue, which means the is_valid() vfunc should do the same.
This avoids a segfault when calling g_param_value_is_valid() on a GParamSpecParam.
Fixes: #2770 (closed)