wined3d: Cleanup CheckRenderTargetCapability().