Handle integer typed arrays for the LZMA-JS compability code correctly

It should be possible to use typed arrays, e. g. Uint8Array
as inputs to compress() and decompress() since the original LZMA-JS
library handles those cases like plain integer arrays