gi: support GI_INFO_TYPE_STRUCT again