giscanner: Test fixups for field annotations and documentation

Related to: https://bugzilla.gnome.org/show_bug.cgi?id=710561