kpatch-build: fix comparison of section headers