gmodule: Define a gmodule include dependency and use it in gio modules
Various gio modules include gmodule.h that requires the gmodule-visibility.h to be already built.
To make this easier, just provide a dependency and use it where we are building modules that do not depend on libgio_dep (that already includes that).
Fixes: #2982 (closed)
/cc @abono please check if this works for you