Replace deprecated functions 'Xalloc/Xfree/Xrealloc' with 'malloc/free/realloc'