avoid unnecessary allocations in snappy.Encode
Merge pull request #10 from bmatsuo/snappy-go/optimize

avoid unnecessary allocations in snappy.Encode