xz: Improve handling of failed realloc in xrealloc.

Thanks to Jim Meyering.
1 file changed