[Bug 1223892] New: Gimp does not build with GCC 14 because of use of incompatible pointer types