gif: Fix bug where the local colormap is not dropped.
This was seen in a GIF file that had a local colormap set on frame 6, but not on frame 7. Instead of reverting to the global colormap we continued to render with the last local colormap.
This was a regression introduced in 4e7b5345.
Fixes #156 (closed)