Move hunk summary function to diff utility section.