We need to exclude the glib libraries, otherwise we can end up using
multiple incompatible versions.
We could have also included all glib libraries, but then we would have
to include the full gstreamer libraries too.
See https://github.com/AppImageCommunity/pkg2appimage/pull/500#issuecomment-1057287738
This is a backport of electroncash#2653