ddraw: Return DDERR_NOPALETTEATTACHED if no palette is attached.