std.compress.zstandard: add error condition to ring buffer decoding

Previously `executeSequenceRingBuffer()` would not verify the offset
against the number of bytes already decoded, so it would happily copy
garbage bytes rather than return an error before the window was filled.

To fix this a new `written_count` is added to the decode state that
tracks the total number of bytes decoded.
a53cf299a6dweiller committed on 2/19/2023, 10:09:06 PMparent5a31fc2
1 file changedLine totals unavailable