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