Merge pull request #192 from libtom/alloc-sizes allocation functions: pass size to XREALLOC and XFREE