lzma: changed encoder dictionary buffer length

We must be able to write the whole history length for a match, which is
limited by the reader index.