NaN boxing: use uintptr_t for bit manipulations
Merge pull request #1633 from cremno/nan-boxing-uintptr_t

NaN boxing: use uintptr_t for bit manipulations