[PATCH 6.6 337/638] net: kcm: fix incorrect parameter validation in the kcm_getsockopt) function