tm: update headers shortcuts if buffer rebuilt after event_route[tm:local-requests]

- affecting transactions for local generated requests
- bulding local ACK uses the shortcuts and they ended up being broken
- reported by Kristian F. Høgh
dialog: increase local cseq after REFER generated by dlg_bridge

- otherwise the next BYE can be rejected