Add KTX file loader and cvar to export textures in the GL internal format.