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