[BTDK] KM compiler provides own malloc/free implementation.