gtype: Define auto-cleanup functions for Module class
While we automatically define cleanup functions for the module, we don't do it for the module class.
This will allow to manage the ownership of the class when reffing it without having to cast it to GTypeClass.