[sr-dev] [kamailio/kamailio] siptrace: fix coverity found issue (#1931)