demux: dash: track segment/periods outside of adaptation logic

Allows switching logic, and fixes startSegment handling.
demux: dash: remove now unused blockbuffer code
demux: mp4: add support for FFV1 v2 (fix #13131)

V2 has global tables, and then needs it to be passed as
extradata IV.
demux: dash: enable all profiles