avformat/avidec: Limit formats in gab2 to srt and ass/ssa