glib: fix G_GNUC_INTERNAL on macOS/iOS
__attribute__(visibility="protected") is not supported there so the
configure check for visibility parameters would fail and G_GNUC_INTERNAL
would evaluate to a nothing.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/1132