wined3d: Split WGL pixel format selection code off from CreateContext.