use uintptr_t instead of long in TYPEALIGN macros