fixed buggy decompression

decompress was behaving incorrectly on certain inputs
because the return value of c_LZ4_decompress was
misinterpreted to represent the number of bytes used in result buffer
rather than the number of bytes read from the input compressed buffer