avformat/avidec: Fix memleak with embedded GAB2 subtitles