[PATCH 2/3] wined3d: Reduce usage of long integral types in device.c.