tests: introduce a small hack for visibility
tests: introduce a small hack for visibility

One of our testcases builds a small giomodule for testing the loading of
modules containing resources.  Unfortunately, this module gets built
using the same CFLAGS as the rest of GLib, including the visibility
flags (defaulting to hidden).

Use "config.h" to get a declaration of _GLIB_EXTERN that will export
symbols properly and use it to annotate the necessary APIs.

tamaskenez/glib,cosimoc/glib,Distrotech/glib,MathieuDuponchelle/glib,lukasz-skalski/glib,tamaskenez/glib,johne53/MB3Glib,Distrotech/glib,tchakabam/glib,lukasz-skalski/glib,krichter722/glib,cosimoc/glib,lukasz-skalski/glib,MathieuDuponchelle/glib,Distrotech/glib,johne53/MB3Glib,gale320/glib,gale320/glib,tamaskenez/glib,mzabaluev/glib,mzabaluev/glib,cosimoc/glib,ieei/glib,krichter722/glib,endlessm/glib,johne53/MB3Glib,endlessm/glib,mzabaluev/glib,MathieuDuponchelle/glib,ieei/glib,tchakabam/glib,cention-sany/glib,gale320/glib,ieei/glib,endlessm/glib,krichter722/glib,tamaskenez/glib,gale320/glib,endlessm/glib,tchakabam/glib,cention-sany/glib,johne53/MB3Glib,lukasz-skalski/glib,djdeath/glib,cosimoc/glib,djdeath/glib,tchakabam/glib,cention-sany/glib,ieei/glib,Distrotech/glib,djdeath/glib,MathieuDuponchelle/glib,gale320/glib,djdeath/glib,MathieuDuponchelle/glib,Distrotech/glib,tchakabam/glib,endlessm/glib,cention-sany/glib,cosimoc/glib,djdeath/glib,krichter722/glib,ieei/glib,tamaskenez/glib,mzabaluev/glib,johne53/MB3Glib,krichter722/glib,lukasz-skalski/glib,johne53/MB3Glib,cention-sany/glib,mzabaluev/glib