[sr-dev] [kamailio/kamailio] smsops: fixes as per static code analyzer report (PR #3551)