dialog: fixed adding contact header to REFER generated by dlg_bridge

- reported by Paul Smith

(cherry picked from commit ab7519006b6a53792d66b6903a4b0694083179b6)