Use an inline function tcp_adapt_iss_check() to perform the check consistently instead of replicating the code multiple times. These checks already became inconsistent.
A fix for PR 298560 requires more calls to tcp_adapt_iss_check().
Fixes: fa2ad70a4511 ("tcp: make ghost ACK handling more conformant")