Fix the build of graphics/goocanvas2 with newer gobject-introspection, taken from MC