[PATCH 2/6] wined3d: Store GetLastError() into an unsigned int.