gtkdoc-scan.in: allow ordinary structs and enums to be documented

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