[sr-dev] [kamailio/kamailio] core: fix a seg while t_continue with nats module (PR #3396)