detect and ignore WARN-only changes

WARN-only function changes are very common, and a serious PITA for patch
authors.  Detect and ignore them.

Fixes #454.
I think debug sections are already excluded by `!is_text_section()`, since it checks for `SHF_EXECINSTR`, which doesn't seem to be set for debug sections.