[sr-dev] [kamailio/kamailio] presence: fix crush if dialog id is NULL (#817)