Add support for giflib 5.x