[PATCH 2/3] wined3d: Use pointer to non long integral type for some helpers.