clang: additional fixes detected by clang analyzer
snmp: frame.h is not needed anymore

The `frame_checksum()` function is declared in `lldpd.h`.