glib: Fix multiple definition of PopplerTextSpan

https://bugs.freedesktop.org/show_bug.cgi?id=78103