Fix image loading/conversion for 8-bit images with alpha.