[PATCH 4/5] wined3d: Make some wined3d_device functions static.