erts: Change locking order for "port_table" and "port_sched_lock"
erts: Change locking order for "port_table" and "port_sched_lock"

Keep order between the two but move them before all the allocation locks.

Old order violated for "port_table" lock in ptab_list_bif_engine().

hairyhum/otp,johanclaesson/otp,hairyhum/otp,paladim/otp,lightcyphers/otp,sdebnath/otp,sitexa/otp,vic/otp,matwey/otp,massemanet/otp,lhslll/otp,vladdu/otp,falkevik/otp,RichMorin/otp,lianghaivv/otp,psyeugenic/otp,johanclaesson/otp,derek121/otp,yangchengjian/otp,paulcager/otp,derek121/otp,lhslll/otp,dgud/otp,riverrun/otp,enikki/otp,ahmedshafeeq/otp,erlang/otp,riverrun/otp,NOMORECOFFEE/otp,fenollp/otp,isvilen/otp,c-rack/otp,bugs-erlang-org/otp,lianghaivv/otp,schlagert/otp,RJ/otp,lrascao/otp,RGafiyatullin/otp,msantos/otp,sdebnath/otp,mikpe/otp,kvakvs/otp,goertzenator/otp,cobusc/otp,psyeugenic/otp,hairyhum/otp,potatosalad/otp,erlang/otp,vinoski/otp,msantos/otp,gjaldon/otp,isvilen/otp,benoitc/otp-1,bugs-erlang-org/otp,johanclaesson/otp,derek121/otp,benoitc/otp-1,GinjaNinja32/otp,Teino1978-Corp/otp,bernardd/otp,lantti/otp,RGafiyatullin/otp,bugs-erlang-org/otp,release-project/otp,johanclaesson/otp,haguenau/otp,potatosalad/otp,lantti/otp,release-project/otp,mujiatong/otp,mikpe/otp,derek121/otp,msantos/otp,ferd/otp,release-project/otp,emacsmirror/erlang,beni55/otp,neeraj9/otp,matwey/otp,potatosalad/otp,weisslj/otp,palas/otp,msantos/otp,paulcager/otp,fenollp/otp,aboroska/otp,tuncer/otp,fenollp/otp,lhslll/otp,jemsbhai/otp,release-project/otp,schlagert/otp,benoitc/otp-1,bsmr-erlang/otp,matwey/otp,getong/otp,haguenau/otp,cnbin/otp,neeraj9/otp,isvilen/otp,Teino1978-Corp/otp,cnbin/otp,jj1bdx/otp,c-rack/otp,ader1990/otp,lianghaivv/otp,potatosalad/otp,matwey/otp,massemanet/otp,yangchengjian/otp,fenollp/otp,ferd/otp,sitexa/otp,falkevik/otp,vladdu/otp,lhslll/otp,basho/otp,dgud/otp,ferd/otp,hairyhum/otp,GinjaNinja32/otp,riverrun/otp,potatosalad/otp,bernardd/otp,palas/otp,getong/otp,RaimoNiskanen/otp,legoscia/otp,ahmedshafeeq/otp,sitexa/otp,g-andrade/otp,vinoski/otp,cobusc/otp,sitexa/otp,benoitc/otp-1,ahmedshafeeq/otp,falkevik/otp,marquisthunder/otp,awetzel/otp,RichMorin/otp,klarna/otp,RaimoNiskanen/otp,awetzel/otp,bsmr-erlang/otp,ahmedshafeeq/otp,haguenau/otp,sammoth-wazoku/otp,lrascao/otp,ferd/otp,electricimp/otp,klarna/otp,dumbbell/otp,uabboli/otp,erlang/otp,isvilen/otp,getong/otp,rlipscombe/otp,dumbbell/otp,hairyhum/otp,jamesruan/otp,saleyn/otp,sitexa/otp,lhslll/otp,RoadRunnr/otp,tuncer/otp,stolen/otp,riverrun/otp,klarna/otp,emacsmirror/erlang,lightcyphers/otp,stolen/otp,lemenkov/otp,lemenkov/otp,mikpe/otp,jinshana/otp,jinshana/otp,haguenau/otp,mikpe/otp,lianghaivv/otp,legoscia/otp,jemsbhai/otp,theom/otp,RoadRunnr/otp,bsmr-erlang/otp,aboroska/otp,jj1bdx/otp,vinoski/otp,RJ/otp,RGafiyatullin/otp,jinshana/otp,bernardd/otp,bugs-erlang-org/otp,paladim/otp,riverrun/otp,lrascao/otp,goertzenator/otp,bjorng/otp,Teino1978-Corp/erlang-otp,ader1990/otp,rlipscombe/otp,jemsbhai/otp,awetzel/otp,mikpe/otp,dumbbell/otp,entropiae/otp,vladdu/otp,stolen/otp,hairyhum/otp,lightcyphers/otp,johanclaesson/otp,kvakvs/otp,vladdu/otp,sammoth-wazoku/otp,RaimoNiskanen/otp,msantos/otp,mikpe/otp,klarna/otp,schlagert/otp,legoscia/otp,lantti/otp,neeraj9/otp,emacsmirror/erlang,mikpe/otp,kvakvs/otp,RoadRunnr/otp,vinoski/otp,bjorng/otp,bsmr-erlang/otp,mujiatong/otp,marquisthunder/otp,potatosalad/otp,potatosalad/otp,entropiae/otp,RichMorin/otp,potatosalad/otp,yangchengjian/otp,jamesruan/otp,RJ/otp,sitexa/otp,lightcyphers/otp,hairyhum/otp,sitexa/otp,Teino1978-Corp/otp,aboroska/otp,jamesruan/otp,emile/otp,matwey/otp,jamesruan/otp,psyeugenic/otp,paulcager/otp,platinumthinker/otp,lhslll/otp,erlang/otp,marquisthunder/otp,fenollp/otp,sitexa/otp,emacsmirror/erlang,benoitc/otp-1,dumbbell/otp,potatosalad/otp,tuncer/otp,tuncer/otp,uabboli/otp,psyeugenic/otp,jinshana/otp,RoadRunnr/otp,kvakvs/otp,getong/otp,mujiatong/otp,weisslj/otp,sammoth-wazoku/otp,falkevik/otp,Teino1978-Corp/erlang-otp,stolen/otp,basho/otp,paladim/otp,lucafavatella/otp,aboroska/otp,stolen/otp,platinumthinker/otp,stolen/otp,basho/otp,RGafiyatullin/otp,NOMORECOFFEE/otp,bugs-erlang-org/otp,c-rack/otp,bjorng/otp,vladdu/otp,goertzenator/otp,saleyn/otp,kvakvs/otp,enikki/otp,GinjaNinja32/otp,vic/otp,lightcyphers/otp,palas/otp,rlipscombe/otp,jamesruan/otp,tuncer/otp,sdebnath/otp,bugs-erlang-org/otp,lantti/otp,jemsbhai/otp,beni55/otp,dumbbell/otp,bernardd/otp,erlang/otp,hairyhum/otp,enikki/otp,dumbbell/otp,rlipscombe/otp,psyeugenic/otp,aboroska/otp,erlang/otp,krishnakumar4a4/otp,weisslj/otp,kvakvs/otp,haguenau/otp,klarna/otp,schlagert/otp,falkevik/otp,getong/otp,ader1990/otp,msantos/otp,getong/otp,legoscia/otp,tuncer/otp,platinumthinker/otp,weisslj/otp,Teino1978-Corp/erlang-otp,gjaldon/otp,RGafiyatullin/otp,vinoski/otp,RaimoNiskanen/otp,ahmedshafeeq/otp,yangchengjian/otp,sdebnath/otp,isvilen/otp,jinshana/otp,bsmr-erlang/otp,RJ/otp,electricimp/otp,schlagert/otp,jinshana/otp,platinumthinker/otp,lrascao/otp,matwey/otp,jj1bdx/otp,c-rack/otp,enikki/otp,schlagert/otp,g-andrade/otp,rlipscombe/otp,klarna/otp,jj1bdx/otp,cobusc/otp,legoscia/otp,isvilen/otp,rlipscombe/otp,cnbin/otp,sdebnath/otp,fenollp/otp,beni55/otp,erlang/otp,neeraj9/otp,jamesruan/otp,marquisthunder/otp,RGafiyatullin/otp,lemenkov/otp,goertzenator/otp,emacsmirror/erlang,bsmr-erlang/otp,RJ/otp,paulcager/otp,emile/otp,theom/otp,fenollp/otp,dumbbell/otp,vic/otp,lrascao/otp,tuncer/otp,VincentHHL/otp,lantti/otp,ahmedshafeeq/otp,lemenkov/otp,uabboli/otp,platinumthinker/otp,bsmr-erlang/otp,klarna/otp,Teino1978-Corp/otp,release-project/otp,saleyn/otp,vinoski/otp,emile/otp,massemanet/otp,krishnakumar4a4/otp,aboroska/otp,bernardd/otp,legoscia/otp,falkevik/otp,vic/otp,electricimp/otp,aboroska/otp,emacsmirror/erlang,c-rack/otp,lianghaivv/otp,yangchengjian/otp,lhslll/otp,electricimp/otp,platinumthinker/otp,Teino1978-Corp/erlang-otp,stolen/otp,sammoth-wazoku/otp,VincentHHL/otp,awetzel/otp,cnbin/otp,paulcager/otp,dumbbell/otp,basho/otp,goertzenator/otp,stolen/otp,sammoth-wazoku/otp,jj1bdx/otp,vic/otp,goertzenator/otp,riverrun/otp,bjorng/otp,riverrun/otp,yangchengjian/otp,entropiae/otp,Teino1978-Corp/otp,gjaldon/otp,krishnakumar4a4/otp,lrascao/otp,psyeugenic/otp,jj1bdx/otp,benoitc/otp-1,palas/otp,vinoski/otp,paladim/otp,bernardd/otp,Teino1978-Corp/erlang-otp,g-andrade/otp,release-project/otp,rlipscombe/otp,uabboli/otp,RichMorin/otp,bjorng/otp,GinjaNinja32/otp,neeraj9/otp,RoadRunnr/otp,schlagert/otp,basho/otp,release-project/otp,massemanet/otp,lantti/otp,vladdu/otp,saleyn/otp,NOMORECOFFEE/otp,g-andrade/otp,aboroska/otp,palas/otp,weisslj/otp,jinshana/otp,g-andrade/otp,lhslll/otp,emile/otp,cnbin/otp,vladdu/otp,emacsmirror/erlang,lemenkov/otp,isvilen/otp,sdebnath/otp,marquisthunder/otp,GinjaNinja32/otp,ader1990/otp,uabboli/otp,klarna/otp,bernardd/otp,bsmr-erlang/otp,lrascao/otp,fenollp/otp,cobusc/otp,jamesruan/otp,NOMORECOFFEE/otp,haguenau/otp,paladim/otp,dgud/otp,palas/otp,goertzenator/otp,NOMORECOFFEE/otp,VincentHHL/otp,jamesruan/otp,jinshana/otp,derek121/otp,tuncer/otp,bugs-erlang-org/otp,isvilen/otp,krishnakumar4a4/otp,lrascao/otp,bugs-erlang-org/otp,emile/otp,saleyn/otp,entropiae/otp,potatosalad/otp,dumbbell/otp,lrascao/otp,g-andrade/otp,fenollp/otp,emile/otp,cobusc/otp,aboroska/otp,lightcyphers/otp,c-rack/otp,rlipscombe/otp,Teino1978-Corp/otp,basho/otp,Teino1978-Corp/erlang-otp,mujiatong/otp,kvakvs/otp,beni55/otp,electricimp/otp,weisslj/otp,bernardd/otp,psyeugenic/otp,g-andrade/otp,RoadRunnr/otp,gjaldon/otp,RichMorin/otp,gjaldon/otp,cnbin/otp,mujiatong/otp,derek121/otp,legoscia/otp,krishnakumar4a4/otp,lucafavatella/otp,schlagert/otp,jj1bdx/otp,ferd/otp,vinoski/otp,theom/otp,jj1bdx/otp,release-project/otp,electricimp/otp,krishnakumar4a4/otp,RJ/otp,electricimp/otp,jemsbhai/otp,enikki/otp,haguenau/otp,legoscia/otp,electricimp/otp,NOMORECOFFEE/otp,ferd/otp,ferd/otp,theom/otp,vinoski/otp,msantos/otp,erlang/otp,getong/otp,psyeugenic/otp,haguenau/otp,neeraj9/otp,mujiatong/otp,RoadRunnr/otp,massemanet/otp,emile/otp,g-andrade/otp,neeraj9/otp,RaimoNiskanen/otp,sammoth-wazoku/otp,paladim/otp,palas/otp,ahmedshafeeq/otp,beni55/otp,jj1bdx/otp,uabboli/otp,g-andrade/otp,johanclaesson/otp,theom/otp,RJ/otp,bernardd/otp,massemanet/otp,emacsmirror/erlang,RaimoNiskanen/otp,lantti/otp,RichMorin/otp,dgud/otp,emacsmirror/erlang,platinumthinker/otp,benoitc/otp-1,basho/otp,uabboli/otp,dgud/otp,isvilen/otp,matwey/otp,NOMORECOFFEE/otp,bjorng/otp,vic/otp,dgud/otp,paulcager/otp,johanclaesson/otp,jemsbhai/otp,yangchengjian/otp,saleyn/otp,jemsbhai/otp,lucafavatella/otp,awetzel/otp,vladdu/otp,c-rack/otp,RJ/otp,dgud/otp,jj1bdx/otp,marquisthunder/otp,uabboli/otp,kvakvs/otp,entropiae/otp,sdebnath/otp,getong/otp,Teino1978-Corp/erlang-otp,cnbin/otp,bjorng/otp,neeraj9/otp,derek121/otp,bjorng/otp,release-project/otp,RoadRunnr/otp,enikki/otp,falkevik/otp,g-andrade/otp,Teino1978-Corp/otp,paladim/otp,dumbbell/otp,mujiatong/otp,RaimoNiskanen/otp,ader1990/otp,theom/otp,cobusc/otp,vladdu/otp,sdebnath/otp,enikki/otp,awetzel/otp,enikki/otp,lemenkov/otp,benoitc/otp-1,lucafavatella/otp,kvakvs/otp,vinoski/otp,ahmedshafeeq/otp,RichMorin/otp,VincentHHL/otp,Teino1978-Corp/otp,yangchengjian/otp,derek121/otp,lucafavatella/otp,gjaldon/otp,Teino1978-Corp/erlang-otp,GinjaNinja32/otp,cnbin/otp,dgud/otp,legoscia/otp,erlang/otp,uabboli/otp,lightcyphers/otp,marquisthunder/otp,saleyn/otp,johanclaesson/otp,bjorng/otp,awetzel/otp,mujiatong/otp,awetzel/otp,goertzenator/otp,paladim/otp,vic/otp,RGafiyatullin/otp,goertzenator/otp,RichMorin/otp,riverrun/otp,lucafavatella/otp,falkevik/otp,lianghaivv/otp,VincentHHL/otp,emile/otp,erlang/otp,GinjaNinja32/otp,ferd/otp,lianghaivv/otp,emacsmirror/erlang,getong/otp,weisslj/otp,dgud/otp,isvilen/otp,c-rack/otp,emile/otp,lucafavatella/otp,sammoth-wazoku/otp,entropiae/otp,rlipscombe/otp,rlipscombe/otp,basho/otp,weisslj/otp,beni55/otp,massemanet/otp,lucafavatella/otp,lemenkov/otp,matwey/otp,tuncer/otp,saleyn/otp,VincentHHL/otp,ferd/otp,krishnakumar4a4/otp,mikpe/otp,ader1990/otp,entropiae/otp,matwey/otp,weisslj/otp,gjaldon/otp,RaimoNiskanen/otp,getong/otp,entropiae/otp,massemanet/otp,bjorng/otp,theom/otp,VincentHHL/otp,paulcager/otp,basho/otp,ader1990/otp,paulcager/otp,gjaldon/otp,lemenkov/otp,electricimp/otp,ader1990/otp,palas/otp,beni55/otp,dgud/otp,cobusc/otp,GinjaNinja32/otp,vic/otp,lianghaivv/otp,krishnakumar4a4/otp,lightcyphers/otp,RGafiyatullin/otp,sammoth-wazoku/otp,ahmedshafeeq/otp,msantos/otp,mikpe/otp,cobusc/otp,jemsbhai/otp,falkevik/otp,saleyn/otp,RaimoNiskanen/otp,RoadRunnr/otp,lantti/otp,beni55/otp,VincentHHL/otp,theom/otp,platinumthinker/otp,massemanet/otp,mikpe/otp,NOMORECOFFEE/otp,marquisthunder/otp,bsmr-erlang/otp