wined3d: Move the WGL extension detection code to the same place as regular GL extens...