thdat: Add encrypt/decrypt code for th105.

No zipping, simple XOR.
Fix compile errors.
Add th105 related files to Makefile