diff.c: rearrange xcalloc arguments