Addess some Clang analyzer warnings

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Add OS Version to Xsnmp package string

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>