Properly track size of X_D3DPALETTE used in D3DDevice::SetPalette(). Later read in Register() functions