Fix libtga

Some major refactoring had to be done. Previously, libtga wasn't ready
to be used on the Saturn as a lot of debugging code was left behind.

All in all, loading a TGA file is very slow and shouldn't be used for
anything other than for static screens.
Rewrite example to make use of libtga