[PATCH 6.7 382/713] net: kcm: fix incorrect parameter validation in the kcm_getsockopt) function