Fix giflib QuantizeBuffer() detection