compiler.h: add support for malloc attribute