[PATCH 6.8 337/715] tcp: fix incorrect parameter validation in the do_tcp_getsockopt() function