builtin/apply: make gitdiff_*() return 1 at end of header