fix two bugs

2814237 create-diff-object: fix a potential overflow for rela type
f1683eb kpatch-build: fix ERROR: two parent matches for x.o