[PATCH 03/10] wined3d: Cleanup CheckRenderTargetCapability().