dialog: avoid realloc of memory for cseq when setting leg info