lzma: added field total to decoder dictionary

While reviewing the code from other LZMA implementations I observed that
the actual decoder dictionaries counted the number of total bytes
written and that resetting the dictionary also cleared this number.
Therefore I have added the total counter to the dictionary.