Add CALLED_AS_EVENT_TRIGGER() macro