Fix some issues scanbuild found in the silc protocol plugin

Review Request #712 — Created June 1, 2021 and submitted

Information

pidgin/pidgin
release-2.x.y
ff97cafeb436

Reviewers

Fix some issues scanbuild found in the silc protocol plugin

Verified that scanbuild no longer detected the errors.