fix alpha handling for 8bpp greyscale textures