gobject-introspection: backport fix for macosx dyld linking

Merged Edward Hervey requested to merge bilboed/cerbero:osxfix into master

Merge request reports