Fix new Object API porting bug

When doing the XRef::readXRefTable workaround of moving entries[1] to
entries[0] set the entries[1] object back to null

Bug #104517
1 file changed