[sr-dev] [kamailio/kamailio] Compilation warning with gcc-12 (Issue #3073)