Check GARC constants with pattern-matching.

This results in somewhat less useful error messages, but it's worth it
given how much cleaner the code is this way.
Speed LZSS decompression way up.
Redefine "offset" to avoid adding 1 and then subtracting 1 later.
Avoid shadowing.
Add a little LZSS test script.