@Override
		public DBRecord next() throws IOException {
			DBRecord rec = it.next();
			return adaptRecord(rec);
		}
Computes a relocation byte length which will be no greater than the default length
(see {@link RelocationManager#getDefaultOriginalByteLength(Program)} which should not
overlap a subsequent relocation record.
<p>
NOTE: it is possible for a patched instruction to interfere with this logic, however
the result should be no worse than the previously over-extended relocation byte range.

@param list sorted relocation list
@param relocAddr relocation address
@param index relocation index within list
@param program program containing relocations
@return number of original bytes modified or -1 if there is a subsequent relocation at the
same address
@throws IOException if an IO error occurs
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/reloc/RelocationDBAdapter.java