Add Mac OS X support, based in large part on the OS X support in Mozilla's version of jemalloc.
Rather than passing four strings to malloc_message(), malloc_write4(), and all the functions that use them, only pass one string.