[sr-dev] [kamailio/kamailio] Support gcc 7+. (#1282)