Switch `value_t` to be `uintptr_t`.

This allows `value_t` to be 64-bit even on 64-bit architectures where
`unsigned long` is still 32-bit.