[GLib] Fixed constructors and destructors not being called for secondary direct base classes.