Cast integer constants to (void *) with an intermediate cast to (uintptr_t). On Windows this avoid warnings about a signed integer being cast to a pointer of larger size. No functional change. Change-Id: I7289fb772870c5f492c1a8b988e0d80cf008b7f4