[Bug 1225858] Package libsmi does not build with gcc14 because of new errors