lzma2: extracted sample generation out of TestChunkHeaderMarshalling
lzma2: extracted sample generation out of TestChunkHeaderMarshalling

The new function chunkHeaderSamples will be used by TestReadChunkHeader.

uli-go/xz,uli-go/xz