wined3d: Fix 64bit builds.