[PATCH 7/8] wined3d: Reduce usage of long integral types in buffer.c.