wined3d: Make sure the format of the render target is P8 too.