Replace xmalloc/memset(0) pairs with xcalloc