[Bug 1224536] Package dia does not build with gcc14 because of a call argument with an incompatible pointer type