gdi32: Allocate palette entries separately from the main GDI object.