buffer: remove darwin portability cruft

valloc conflicts with an existing call, and none of these macros are
actually used in buffer.h. The DARWIN check isn't valid either since
this is an installed header and that depends on acconfig.h

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>