Fix arguments to DGifCloseFile for GIFLIB 5.1.