crt_malloc: use uintptr_t instead of long for arithmetic on addresses
and avoid unneeded casts
Reviewed by: arichardson (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32474