[PATCH v2 1/2] wined3d: Reduce usage of long integral types in surface.c.