avformat/matroskadec: Cleanup error handling for bz2 & zlib