Change how the default zone is found
Change how the default zone is found

On OSX 10.12, malloc_default_zone returns a special zone that is not
present in the list of registered zones. That zone uses a "lite zone"
if one is present (apparently enabled when malloc stack logging is
enabled), or the first registered zone otherwise. In practice this
means unless malloc stack logging is enabled, the first registered
zone is the default.

So get the list of zones to get the first one, instead of relying on
malloc_default_zone.

wqfish/jemalloc,wqfish/jemalloc,jemalloc/jemalloc-cmake,jemalloc/jemalloc-cmake,wqfish/jemalloc,wqfish/jemalloc,jemalloc/jemalloc-cmake,wqfish/jemalloc,jemalloc/jemalloc-cmake