[PATCH 1/3] wined3d: Use long type for interlock variables/fields.