[Bug 1227581] Bug report: Vala-generated C code produces int-conversion error in gcc14, causing build to fail