stream.hls: simplify discard logic in writer
stream.hls: simplify discard logic in writer

gravyboat/streamlink,bastimeyer/streamlink,streamlink/streamlink,chhe/streamlink,chhe/streamlink,streamlink/streamlink,gravyboat/streamlink,bastimeyer/streamlink