wined3d: Add WINED3DCREATE flags and use them.