musl: fix gethostbyname_r/gethostbyaddr_ selection
musl: fix gethostbyname_r/gethostbyaddr_ selection

To fix conditional selection of the actually available gethostbyname_r
and gethostbyaddr_r, we replace __GLIBC__ with __linux__.  @zenhack
tested this to work with gcc and clang targeting glibc, uclibc, musl,
and bionic.

The proper way to check this is through configure.in.

rlipscombe/otp,jj1bdx/otp,derek121/otp,lrascao/otp,getong/otp,jamesruan/otp,legoscia/otp,saleyn/otp,cobusc/otp,jj1bdx/otp,bjorng/otp,matwey/otp,lrascao/otp,bugs-erlang-org/otp,electricimp/otp,dgud/otp,bugs-erlang-org/otp,RoadRunnr/otp,release-project/otp,jj1bdx/otp,neeraj9/otp,g-andrade/otp,tuncer/otp,erlang/otp,weisslj/otp,lemenkov/otp,jamesruan/otp,massemanet/otp,NOMORECOFFEE/otp,RaimoNiskanen/otp,aboroska/otp,erlang/otp,hairyhum/otp,RoadRunnr/otp,vinoski/otp,matwey/otp,matwey/otp,NOMORECOFFEE/otp,aboroska/otp,tuncer/otp,massemanet/otp,ahmedshafeeq/otp,ferd/otp,kvakvs/otp,aboroska/otp,falkevik/otp,matwey/otp,emacsmirror/erlang,falkevik/otp,goertzenator/otp,johanclaesson/otp,jamesruan/otp,cobusc/otp,ahmedshafeeq/otp,falkevik/otp,RoadRunnr/otp,emacsmirror/erlang,msantos/otp,electricimp/otp,saleyn/otp,erlang/otp,palas/otp,neeraj9/otp,ahmedshafeeq/otp,release-project/otp,rlipscombe/otp,kvakvs/otp,massemanet/otp,bsmr-erlang/otp,neeraj9/otp,ahmedshafeeq/otp,RaimoNiskanen/otp,vinoski/otp,lrascao/otp,falkevik/otp,getong/otp,jamesruan/otp,hairyhum/otp,ferd/otp,falkevik/otp,g-andrade/otp,palas/otp,tuncer/otp,fenollp/otp,g-andrade/otp,fenollp/otp,vladdu/otp,electricimp/otp,psyeugenic/otp,lemenkov/otp,emacsmirror/erlang,fenollp/otp,weisslj/otp,getong/otp,neeraj9/otp,lrascao/otp,jj1bdx/otp,emile/otp,RoadRunnr/otp,aboroska/otp,fenollp/otp,potatosalad/otp,jamesruan/otp,massemanet/otp,lrascao/otp,getong/otp,kvakvs/otp,ferd/otp,mikpe/otp,ferd/otp,ahmedshafeeq/otp,isvilen/otp,hairyhum/otp,g-andrade/otp,bsmr-erlang/otp,vladdu/otp,fenollp/otp,dumbbell/otp,aboroska/otp,basho/otp,getong/otp,johanclaesson/otp,getong/otp,electricimp/otp,falkevik/otp,fenollp/otp,bsmr-erlang/otp,weisslj/otp,hairyhum/otp,bernardd/otp,g-andrade/otp,msantos/otp,uabboli/otp,potatosalad/otp,rlipscombe/otp,msantos/otp,lemenkov/otp,weisslj/otp,vinoski/otp,rlipscombe/otp,dgud/otp,hairyhum/otp,emile/otp,bugs-erlang-org/otp,release-project/otp,johanclaesson/otp,lemenkov/otp,hairyhum/otp,palas/otp,release-project/otp,dumbbell/otp,basho/otp,dumbbell/otp,erlang/otp,mikpe/otp,electricimp/otp,matwey/otp,dumbbell/otp,erlang/otp,goertzenator/otp,bjorng/otp,dumbbell/otp,isvilen/otp,emacsmirror/erlang,RaimoNiskanen/otp,release-project/otp,psyeugenic/otp,derek121/otp,dgud/otp,legoscia/otp,isvilen/otp,electricimp/otp,NOMORECOFFEE/otp,palas/otp,johanclaesson/otp,saleyn/otp,jamesruan/otp,ferd/otp,ferd/otp,kvakvs/otp,dumbbell/otp,basho/otp,g-andrade/otp,tuncer/otp,lightcyphers/otp,mikpe/otp,rlipscombe/otp,potatosalad/otp,psyeugenic/otp,dgud/otp,mikpe/otp,rlipscombe/otp,lightcyphers/otp,dgud/otp,ahmedshafeeq/otp,legoscia/otp,bugs-erlang-org/otp,legoscia/otp,lrascao/otp,NOMORECOFFEE/otp,bernardd/otp,bjorng/otp,palas/otp,derek121/otp,matwey/otp,neeraj9/otp,tuncer/otp,bernardd/otp,NOMORECOFFEE/otp,ahmedshafeeq/otp,bsmr-erlang/otp,palas/otp,uabboli/otp,mikpe/otp,uabboli/otp,vladdu/otp,tuncer/otp,isvilen/otp,emacsmirror/erlang,aboroska/otp,ferd/otp,bugs-erlang-org/otp,lightcyphers/otp,fenollp/otp,rlipscombe/otp,neeraj9/otp,vladdu/otp,msantos/otp,fenollp/otp,bsmr-erlang/otp,bernardd/otp,emile/otp,neeraj9/otp,potatosalad/otp,erlang/otp,psyeugenic/otp,kvakvs/otp,tuncer/otp,emile/otp,rlipscombe/otp,bernardd/otp,derek121/otp,erlang/otp,emile/otp,cobusc/otp,massemanet/otp,mikpe/otp,jj1bdx/otp,potatosalad/otp,msantos/otp,bugs-erlang-org/otp,weisslj/otp,g-andrade/otp,emacsmirror/erlang,lemenkov/otp,emile/otp,ferd/otp,isvilen/otp,ahmedshafeeq/otp,legoscia/otp,vinoski/otp,cobusc/otp,emacsmirror/erlang,isvilen/otp,bjorng/otp,massemanet/otp,derek121/otp,release-project/otp,cobusc/otp,falkevik/otp,derek121/otp,lrascao/otp,weisslj/otp,g-andrade/otp,dgud/otp,isvilen/otp,lemenkov/otp,palas/otp,goertzenator/otp,msantos/otp,jamesruan/otp,emile/otp,saleyn/otp,tuncer/otp,saleyn/otp,goertzenator/otp,bernardd/otp,dgud/otp,cobusc/otp,goertzenator/otp,matwey/otp,basho/otp,palas/otp,aboroska/otp,cobusc/otp,falkevik/otp,derek121/otp,goertzenator/otp,basho/otp,falkevik/otp,erlang/otp,lightcyphers/otp,neeraj9/otp,g-andrade/otp,vinoski/otp,goertzenator/otp,vinoski/otp,NOMORECOFFEE/otp,uabboli/otp,tuncer/otp,bjorng/otp,lrascao/otp,saleyn/otp,release-project/otp,RoadRunnr/otp,ferd/otp,legoscia/otp,mikpe/otp,mikpe/otp,basho/otp,kvakvs/otp,RoadRunnr/otp,saleyn/otp,bsmr-erlang/otp,rlipscombe/otp,bjorng/otp,isvilen/otp,msantos/otp,kvakvs/otp,massemanet/otp,jamesruan/otp,bsmr-erlang/otp,derek121/otp,psyeugenic/otp,vladdu/otp,weisslj/otp,psyeugenic/otp,goertzenator/otp,legoscia/otp,erlang/otp,emacsmirror/erlang,uabboli/otp,NOMORECOFFEE/otp,dgud/otp,dumbbell/otp,basho/otp,RaimoNiskanen/otp,johanclaesson/otp,massemanet/otp,vinoski/otp,emacsmirror/erlang,dumbbell/otp,vladdu/otp,psyeugenic/otp,cobusc/otp,jj1bdx/otp,johanclaesson/otp,msantos/otp,matwey/otp,bernardd/otp,weisslj/otp,isvilen/otp,g-andrade/otp,kvakvs/otp,vladdu/otp,mikpe/otp,massemanet/otp,dumbbell/otp,mikpe/otp,getong/otp,emile/otp,RoadRunnr/otp,legoscia/otp,jj1bdx/otp,electricimp/otp,bernardd/otp,aboroska/otp,lightcyphers/otp,goertzenator/otp,johanclaesson/otp,vinoski/otp,electricimp/otp,potatosalad/otp,hairyhum/otp,lightcyphers/otp,release-project/otp,lrascao/otp,uabboli/otp,rlipscombe/otp,bjorng/otp,erlang/otp,potatosalad/otp,psyeugenic/otp,johanclaesson/otp,vinoski/otp,lightcyphers/otp,fenollp/otp,emile/otp,jj1bdx/otp,hairyhum/otp,release-project/otp,bjorng/otp,RaimoNiskanen/otp,RaimoNiskanen/otp,uabboli/otp,jj1bdx/otp,uabboli/otp,bsmr-erlang/otp,lemenkov/otp,ahmedshafeeq/otp,getong/otp,matwey/otp,vladdu/otp,saleyn/otp,legoscia/otp,RaimoNiskanen/otp,vladdu/otp,getong/otp,basho/otp,lightcyphers/otp,aboroska/otp,weisslj/otp,bugs-erlang-org/otp,jj1bdx/otp,bugs-erlang-org/otp,bernardd/otp,bsmr-erlang/otp,dumbbell/otp,potatosalad/otp,NOMORECOFFEE/otp,saleyn/otp,basho/otp,RoadRunnr/otp,vinoski/otp,dgud/otp,isvilen/otp,RaimoNiskanen/otp,potatosalad/otp,bjorng/otp,lemenkov/otp,potatosalad/otp,uabboli/otp,emacsmirror/erlang,kvakvs/otp,electricimp/otp,RoadRunnr/otp,dgud/otp,RaimoNiskanen/otp,bjorng/otp,getong/otp