[sr-dev] [kamailio/kamailio] htable: fix infinite loop during dmq sync of large tables (#1872)