test-skeleton.c (xrealloc): Support realloc-as-free