corrected higan's DMG-palette to grayscale conversion