Handle early EOF in TGA loader.