asfdec: close the demuxer properly when read_header is failing