avcodec/gif: Fix lzw buffer size