Account for \n at start of xref in startxref

Although (most) PDF readers seem to cope with an incorrect startxref value
it is off by one and can cause problems with other PDF libraries if they
trust the startxref value (i.e. they don't account for this issue).