BumpPtrAllocator: use uintptr_t when aligning addresses to avoid undefined behaviour