This code is from https://git.code.sf.net/p/giflib/code,
revision 92fc0043461954a6ad34f1b73c08f5502315d042 (2026-01-29)
with the addition of an inclusion of gdal_giflib_symbol_rename.h in gif_lib.h
and gif_hash.h
