asf: split ASFContext into muxer and demuxer parts.