Revert "tcp: fix conflicting types for tcp_write_xmit"

This reverts commit 8208467f5d97bec6c297521ad1db40eaf70b0c5c.