lavf/matroskadec: Simplify string length calculation.