Simplify compression API by compressing into a SmallVector rather than a MemoryBuffer