lavf/matroskaenc: check for overflow in display width.