Remove 'malloc.h' include.

This header is not POSIX and does not exist on some systems, such
as Mac OS X.