Replace __attribute__((malloc)) with __attribute__((__malloc__)) in macros.h