Use thread local state for high compressor

Use thread local state for high compressor, this can reduce one memory
allocation and free for each compress call to one memory allocation per
thread.