lzma: modified interface of range coder

Adapted the interface to a scheme that will be consistent to other
schemes.