New function: xalloc_and_zero()