[PATCH] wined3d: Make some functions static.