avformat/matroskadec: Check parents remaining length