better gifsicle error handling

5df248a6cb91f1126a07b29bd047751d give warning:

> gifsicle: While reading 'foo.gif' frame #151:
> gifsicle:   warning: trailing garbage after GIF ignored