Fix memory leak in Gif

Hi, I found a memory leak in Gif's constructor, preventing it from being garbage collected.

While fixing this, I also cooked up a small ANT build file (tied to my machine, by a single line) and updated the JAR in the process.