revision.c: use proper data type in call to sizeof() within xrealloc