Adjust API and update to work with new giflib

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>