[PATCH 08/11] wined3d: Reduce usage of long integral types in state.c.