See https://gitlab.gnome.org/GNOME/libpeas/-/issues/58. Fix building with libpeas1 (ported to girepository-2.0).