Add type safe getter for texture and clut format fields
Allocate staticaly a huge buffer instead of allocating on the stack
Some fixes for CLUT decoding

Used by Namco logo in Tales of Eternia