Compilation fixes for current gcc & giflib

These changes were necessary for successful compilation on an up-to-date Archlinux system.

By the way, the official 1.0.2 release from http://www.complang.tuwien.ac.at/schani/metapixel/ does not work at all, could you update the site to point at the github repo or push a new release?