glib: do not call undefined foreign type initializers, but issue a warning