recompute xref size in document trailer dict