Fix a bug that occurs when an object has the same object number with the root object

Before this fix, the root will be released when an indirect object has the
same object number with the root. However, the root object is loaded when
the trailer is parsed. It shall not be updated or replaced anymore.

BUG=425040
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/803103002

(cherry picked from commit dba5bfd174589ad08c4231b039297b59fa2ccc3b)

Review URL: https://codereview.chromium.org/792013005
1 file changed