NaN boxing: use uintptr_t for bit manipulations

This probably hasn't any effect on the code in this case (maybe on/with some less common system/compiler) but it's always good to avoid bitwise operations on signed types. It was actually unsigned once (changed by 1f5c91d68dfca9a7000f2b194efceed9b96ffdf6).