Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size

Pass *new* size to realloc, not old size.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>