Merge "restore minui support for paletted images with < 8 bits"