Constructs a dsdl2.Palette from a vanilla SDL_Palette* from bindbc-sdl
the SDL_Palette pointer to manage
whether the instance owns the given SDL_Palette* and should destroy it on its own
optional pointer to maintain reference link, avoiding GC cleanup
See Implementation
Constructs a dsdl2.Palette from a vanilla SDL_Palette* from bindbc-sdl