This reverts commit ad0fd6c5.
The type system actually keeps a weak reference on the module/plugin. g_type_module_unuse() documentation is explicit "Once a #GTypeModule is initialized, it must exist forever."