Use uinptr instead for this hack.

Fixes compilation on x86_64.