wined3d: Move creating a texture id from PreLoad to BindTexture.