[esock] socket:setopt add_membership fails with badarg
[esock] socket:setopt add_membership fails with badarg

An invalid value test caused the

     socket:setopt(Socket, ip, add_membership, ip_mreq())

to fail with badarg.

OTP-15908 (ERL-980)

emacsmirror/erlang,potatosalad/otp,erlang/otp,dumbbell/otp,bjorng/otp,jj1bdx/otp,rlipscombe/otp,dgud/otp,jj1bdx/otp,aboroska/otp,dumbbell/otp,electricimp/otp,getong/otp,vladdu/otp,getong/otp,dgud/otp,bjorng/otp,ferd/otp,dumbbell/otp,vladdu/otp,kvakvs/otp,dgud/otp,jj1bdx/otp,bjorng/otp,getong/otp,ferd/otp,electricimp/otp,emacsmirror/erlang,dgud/otp,g-andrade/otp,bjorng/otp,aboroska/otp,RoadRunnr/otp,emacsmirror/erlang,g-andrade/otp,potatosalad/otp,kvakvs/otp,mikpe/otp,erlang/otp,RoadRunnr/otp,emacsmirror/erlang,uabboli/otp,isvilen/otp,getong/otp,electricimp/otp,vinoski/otp,isvilen/otp,vinoski/otp,vladdu/otp,isvilen/otp,jj1bdx/otp,lrascao/otp,bjorng/otp,electricimp/otp,emacsmirror/erlang,rlipscombe/otp,RoadRunnr/otp,vinoski/otp,uabboli/otp,ferd/otp,g-andrade/otp,jj1bdx/otp,rlipscombe/otp,mikpe/otp,vinoski/otp,kvakvs/otp,g-andrade/otp,bjorng/otp,kvakvs/otp,emacsmirror/erlang,mikpe/otp,aboroska/otp,erlang/otp,isvilen/otp,emacsmirror/erlang,vinoski/otp,emacsmirror/erlang,aboroska/otp,ferd/otp,kvakvs/otp,potatosalad/otp,vladdu/otp,uabboli/otp,erlang/otp,bjorng/otp,uabboli/otp,electricimp/otp,dumbbell/otp,dgud/otp,mikpe/otp,lrascao/otp,mikpe/otp,lrascao/otp,vinoski/otp,vinoski/otp,RoadRunnr/otp,erlang/otp,isvilen/otp,kvakvs/otp,rlipscombe/otp,mikpe/otp,ferd/otp,potatosalad/otp,kvakvs/otp,lrascao/otp,isvilen/otp,lrascao/otp,emacsmirror/erlang,dumbbell/otp,getong/otp,electricimp/otp,bjorng/otp,uabboli/otp,g-andrade/otp,vladdu/otp,vladdu/otp,potatosalad/otp,kvakvs/otp,ferd/otp,uabboli/otp,rlipscombe/otp,dumbbell/otp,vladdu/otp,mikpe/otp,getong/otp,g-andrade/otp,dumbbell/otp,vladdu/otp,potatosalad/otp,electricimp/otp,aboroska/otp,kvakvs/otp,dgud/otp,uabboli/otp,lrascao/otp,g-andrade/otp,vladdu/otp,isvilen/otp,RoadRunnr/otp,dumbbell/otp,erlang/otp,jj1bdx/otp,isvilen/otp,jj1bdx/otp,mikpe/otp,rlipscombe/otp,rlipscombe/otp,jj1bdx/otp,aboroska/otp,dumbbell/otp,RoadRunnr/otp,RoadRunnr/otp,getong/otp,ferd/otp,g-andrade/otp,dgud/otp,uabboli/otp,getong/otp,g-andrade/otp,dgud/otp,dgud/otp,erlang/otp,mikpe/otp,dumbbell/otp,potatosalad/otp,aboroska/otp,getong/otp,lrascao/otp,electricimp/otp,rlipscombe/otp,RoadRunnr/otp,jj1bdx/otp,RoadRunnr/otp,lrascao/otp,bjorng/otp,aboroska/otp,ferd/otp,ferd/otp,uabboli/otp,potatosalad/otp,potatosalad/otp,erlang/otp,dgud/otp,lrascao/otp,erlang/otp,erlang/otp,isvilen/otp,jj1bdx/otp,potatosalad/otp,bjorng/otp,rlipscombe/otp,emacsmirror/erlang,g-andrade/otp,vinoski/otp,rlipscombe/otp,getong/otp,electricimp/otp,vinoski/otp,aboroska/otp,vinoski/otp,mikpe/otp,isvilen/otp