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.
should we also exclude debug sections (is_debug_section(sec))?