kernel/i386: In the RAM driver, don't include regions above 4GB.

Taken-from: FreeBSD
libc/nmalloc: add an integer overflow check to calloc