Fix libnsgif LWZ decoding buffer awfulness