Add support for generic planar VGA images

This moves the planar code out of the VGFM SCR format handler and makes it
available for other formats to use as well.
Add support for God of Thunder tilesets

This makes use of the generic planar VGA code.