Set texture image format based on libretro pixel_format