replaces obsolute function LZ4_uncompress() with LZ4_decompress_safe()