resip/recon: safety checks when using dynamic_cast with ConversationProfile (fix)

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/main@11104 ddefafc4-47db-0310-ae44-fa13212b10f2