wined3d: Clear up in Init3D if something fails.