Fix bad texture formats before copying
Fix bad texture formats before copying

Some sample glTF models reference an RGB image but say it has an RGBA
format. Technically we could force stb_image to load an image in a
specific format but tinygltfloader loads all image data before taking
into account texture information. This works by basing the format off
the number of components that were loaded by stb_image.

RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine