wined3d: Make some functions static.