diff.c: return pattern entry pointer rather than just the hunk header pattern