Make xrealloc and xstrdup style consistent.