dispmanx: Add api to set palette of resource