[3.0] demux: mkv: don't use EbmlDummy elements coming out of FindNextID()
FindNextID() is supposed to return an element of the given type when it's found. But in some cases, when the ID and sizes are plausible, an EbmlDummy is returned [1].
We should not use that element as if it was a legit element we're looking for. This is especially crucial when we're opening a file to decide if it's an EBML file or not (EbmlHead).
(cherry picked from commit 49d4586f)
backport of !6413 (merged)