[kernel|gen-tcp-misc|test] Adjust 'so-priority' test case
[kernel|gen-tcp-misc|test] Adjust 'so-priority' test case

The option 'priority' is not supported on Darwin, so add
a check to see if the option is supported for 'socket' sockets.

OTP-17156

mikpe/otp,rlipscombe/otp,getong/otp,getong/otp,ferd/otp,vinoski/otp,rlipscombe/otp,g-andrade/otp,ferd/otp,uabboli/otp,g-andrade/otp,emacsmirror/erlang,uabboli/otp,potatosalad/otp,rlipscombe/otp,rlipscombe/otp,bjorng/otp,dgud/otp,vinoski/otp,potatosalad/otp,emacsmirror/erlang,uabboli/otp,ferd/otp,vinoski/otp,erlang/otp,ferd/otp,getong/otp,dgud/otp,erlang/otp,mikpe/otp,jj1bdx/otp,getong/otp,rlipscombe/otp,isvilen/otp,dumbbell/otp,dumbbell/otp,dumbbell/otp,ferd/otp,jj1bdx/otp,getong/otp,isvilen/otp,erlang/otp,bjorng/otp,emacsmirror/erlang,dumbbell/otp,potatosalad/otp,uabboli/otp,vinoski/otp,dgud/otp,emacsmirror/erlang,bjorng/otp,mikpe/otp,rlipscombe/otp,mikpe/otp,dgud/otp,potatosalad/otp,erlang/otp,rlipscombe/otp,jj1bdx/otp,uabboli/otp,bjorng/otp,dumbbell/otp,mikpe/otp,erlang/otp,jj1bdx/otp,ferd/otp,bjorng/otp,dgud/otp,potatosalad/otp,dgud/otp,mikpe/otp,getong/otp,bjorng/otp,erlang/otp,bjorng/otp,emacsmirror/erlang,potatosalad/otp,isvilen/otp,vinoski/otp,potatosalad/otp,rlipscombe/otp,dgud/otp,vinoski/otp,dumbbell/otp,getong/otp,emacsmirror/erlang,vinoski/otp,emacsmirror/erlang,potatosalad/otp,getong/otp,mikpe/otp,dumbbell/otp,potatosalad/otp,dumbbell/otp,potatosalad/otp,isvilen/otp,erlang/otp,emacsmirror/erlang,jj1bdx/otp,erlang/otp,uabboli/otp,g-andrade/otp,mikpe/otp,g-andrade/otp,isvilen/otp,uabboli/otp,erlang/otp,g-andrade/otp,uabboli/otp,ferd/otp,mikpe/otp,dumbbell/otp,erlang/otp,isvilen/otp,ferd/otp,bjorng/otp,jj1bdx/otp,g-andrade/otp,getong/otp,g-andrade/otp,dgud/otp,g-andrade/otp,g-andrade/otp,jj1bdx/otp,bjorng/otp,isvilen/otp,jj1bdx/otp,mikpe/otp,jj1bdx/otp,isvilen/otp,getong/otp,dumbbell/otp,vinoski/otp,isvilen/otp,ferd/otp,jj1bdx/otp,g-andrade/otp,emacsmirror/erlang,vinoski/otp,uabboli/otp,emacsmirror/erlang,rlipscombe/otp,bjorng/otp,isvilen/otp,rlipscombe/otp,vinoski/otp,dgud/otp,dgud/otp