[PATCH v4 04/13] tcp, tcp_splice: Move per-type cleanup logic into per-type helpers