gimarshallingtests: Correctly retrieve param spec's value type

https://bugzilla.gnome.org/show_bug.cgi?id=728409