gobjectIntrospection: fix build on darwin

As far as I can tell, d374527509657cfeb8499118b26e7605fab8f4d2 re-introduced some old changes made when building on darwin that are no longer needed.