[PATCH 6.8 341/715] net: kcm: fix incorrect parameter validation in the kcm_getsockopt) function