use macro for replace malloc api (see skynet_malloc.h)