demux: adaptive: clear BLOCK_FLAG_HEADER flag properly