Remove redefinitions of function and vfunc cache typedefs

https://bugzilla.gnome.org/show_bug.cgi?id=737874
PyGObjectFlags: Remove a trailing comma on the enum.

Because this produces a g++ pedantic warning.