smaz_generic: optimize compression

For some reason it seems even with -O3, calling Dict_Entry involves a
string copy, which makes `memcpy` the larger time consumer of the
copmpression algorithm. Inlining it manually improves performance a lot.