Mac OS X: Fix HAVE_GNU_CALLOC so it works when __GLIBC__ is not defined.