macosx: fix crash when closing video window without decorations
macosx: fix issue which caused automatic video resizing even if disabled

close #9864
demux: asf: add fake root guid for debugging
demux: asf: enforce root object boundary (fix #9441)

Seems some encoder reuses previous memory area for junk sections.