reflog-walk.c: rearrange xcalloc arguments