small improvements to lz4frame compression