avformat/id3v2: Check against max compression ratio before allocation