Relax dialog checking in get_sip_pvt_byid_locked so it works when the dialog is forked.

(closes issue ASTERISK-20638)
Reported by: eelcob
Patches:
      pedantic-call-pickup-from-tag.patch uploaded by eelcob (license 6442)


git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/1.8@382171 f38db490-d61c-443f-a65b-d21fe96a405b