Added #include <string.h> to PNG.h for inlined memcpy usage
Fixed build error with giflib 5.0

Newer giflib versions have a new ErrorCode parameter in several
functions, DGifOpen being one of them.
Merge pull request #313 from anoek/master

Build fixes for arch linux