For reference, upstream proposed that applications requiring this function should link lutil or make their own copy of the code [1].
Arch Linux bug report [2] refers to a patch [3], which resolves the issue. Gentoo bug report [4] refers to a pull request [5], which was not accepted. [1] https://sourceforge.net/p/giflib/bugs/132/ [2] https://bugs.archlinux.org/task/62211 [3] https://git.archlinux.org/svntogit/packages.git/tree/trunk/giflib-5.1.9-fix-missing-quantize-API-symbols.patch?h=packages/giflib [4] https://bugs.gentoo.org/682198 [5] https://github.com/gentoo/gentoo/pull/12386

