Add more giflib version-incompatibility checking. (h/t Khaled Hosny)