[sr-dev] [kamailio/kamailio] fix gcc 7 warnings (#1370)