Fix dialyzer warning in os:start_port_srv_loop
Fix dialyzer warning in os:start_port_srv_loop

Rewrote the code a bit to silence dialyzer. Seems dialyzer can't
handle a function that either returns or loops forever depending on
function argument.

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