proc_lib: Don't call erlang:get_stacktrace/0 twice
proc_lib: Don't call erlang:get_stacktrace/0 twice

proc_lib calls erlang:get_stacktrace/0 twice, which is unnecessary,
and potentially unsafe since there are calls to many functions
in between. Any of the calls could potentially cause and catch
an exception, invalidating the stacktrace.

Only call erlang:get_stacktrace/0 once, and pass the result to
the second place where it is needed.

mikpe/otp,uabboli/otp,bjorng/otp,electricimp/otp,jj1bdx/otp,dgud/otp,ferd/otp,isvilen/otp,saleyn/otp,bernardd/otp,g-andrade/otp,rlipscombe/otp,RaimoNiskanen/otp,bsmr-erlang/otp,legoscia/otp,getong/otp,dumbbell/otp,RoadRunnr/otp,mikpe/otp,emacsmirror/erlang,goertzenator/otp,aboroska/otp,bjorng/otp,uabboli/otp,RaimoNiskanen/otp,falkevik/otp,bsmr-erlang/otp,getong/otp,fenollp/otp,legoscia/otp,matwey/otp,aboroska/otp,bjorng/otp,saleyn/otp,bsmr-erlang/otp,dumbbell/otp,uabboli/otp,matwey/otp,ferd/otp,bjorng/otp,cobusc/otp,dumbbell/otp,matwey/otp,dumbbell/otp,saleyn/otp,bernardd/otp,saleyn/otp,erlang/otp,lrascao/otp,getong/otp,electricimp/otp,RaimoNiskanen/otp,isvilen/otp,ferd/otp,mikpe/otp,goertzenator/otp,kvakvs/otp,electricimp/otp,bjorng/otp,matwey/otp,kvakvs/otp,dgud/otp,bsmr-erlang/otp,vinoski/otp,dumbbell/otp,rlipscombe/otp,fenollp/otp,cobusc/otp,lrascao/otp,potatosalad/otp,goertzenator/otp,RoadRunnr/otp,ferd/otp,erlang/otp,g-andrade/otp,aboroska/otp,kvakvs/otp,fenollp/otp,jj1bdx/otp,jj1bdx/otp,RoadRunnr/otp,aboroska/otp,tuncer/otp,rlipscombe/otp,mikpe/otp,goertzenator/otp,saleyn/otp,dgud/otp,vladdu/otp,uabboli/otp,goertzenator/otp,RaimoNiskanen/otp,legoscia/otp,goertzenator/otp,falkevik/otp,erlang/otp,dgud/otp,erlang/otp,bernardd/otp,electricimp/otp,isvilen/otp,fenollp/otp,potatosalad/otp,rlipscombe/otp,legoscia/otp,cobusc/otp,dumbbell/otp,kvakvs/otp,tuncer/otp,potatosalad/otp,falkevik/otp,dumbbell/otp,bjorng/otp,ferd/otp,uabboli/otp,electricimp/otp,lrascao/otp,potatosalad/otp,aboroska/otp,ferd/otp,uabboli/otp,tuncer/otp,mikpe/otp,uabboli/otp,electricimp/otp,erlang/otp,vladdu/otp,emacsmirror/erlang,vinoski/otp,vladdu/otp,kvakvs/otp,bjorng/otp,RoadRunnr/otp,vinoski/otp,vinoski/otp,emacsmirror/erlang,bernardd/otp,aboroska/otp,RoadRunnr/otp,g-andrade/otp,vinoski/otp,erlang/otp,bjorng/otp,emacsmirror/erlang,isvilen/otp,bjorng/otp,lrascao/otp,dgud/otp,erlang/otp,mikpe/otp,mikpe/otp,tuncer/otp,fenollp/otp,isvilen/otp,aboroska/otp,legoscia/otp,dgud/otp,saleyn/otp,legoscia/otp,matwey/otp,lrascao/otp,RaimoNiskanen/otp,g-andrade/otp,getong/otp,saleyn/otp,kvakvs/otp,potatosalad/otp,lrascao/otp,goertzenator/otp,dgud/otp,matwey/otp,RoadRunnr/otp,bernardd/otp,vladdu/otp,fenollp/otp,vladdu/otp,dumbbell/otp,emacsmirror/erlang,aboroska/otp,RaimoNiskanen/otp,getong/otp,dgud/otp,falkevik/otp,g-andrade/otp,vladdu/otp,getong/otp,tuncer/otp,emacsmirror/erlang,emacsmirror/erlang,dgud/otp,RaimoNiskanen/otp,kvakvs/otp,bsmr-erlang/otp,saleyn/otp,ferd/otp,vinoski/otp,uabboli/otp,isvilen/otp,bsmr-erlang/otp,getong/otp,g-andrade/otp,fenollp/otp,tuncer/otp,getong/otp,jj1bdx/otp,jj1bdx/otp,dumbbell/otp,goertzenator/otp,jj1bdx/otp,falkevik/otp,vinoski/otp,emacsmirror/erlang,potatosalad/otp,falkevik/otp,isvilen/otp,cobusc/otp,falkevik/otp,potatosalad/otp,cobusc/otp,rlipscombe/otp,bsmr-erlang/otp,RoadRunnr/otp,vladdu/otp,bsmr-erlang/otp,erlang/otp,tuncer/otp,ferd/otp,rlipscombe/otp,ferd/otp,jj1bdx/otp,rlipscombe/otp,potatosalad/otp,bsmr-erlang/otp,RoadRunnr/otp,bernardd/otp,vinoski/otp,emacsmirror/erlang,g-andrade/otp,vladdu/otp,getong/otp,getong/otp,potatosalad/otp,fenollp/otp,goertzenator/otp,RaimoNiskanen/otp,bernardd/otp,isvilen/otp,falkevik/otp,mikpe/otp,erlang/otp,cobusc/otp,legoscia/otp,bernardd/otp,tuncer/otp,lrascao/otp,vladdu/otp,mikpe/otp,electricimp/otp,matwey/otp,tuncer/otp,lrascao/otp,erlang/otp,jj1bdx/otp,legoscia/otp,RoadRunnr/otp,legoscia/otp,potatosalad/otp,cobusc/otp,rlipscombe/otp,matwey/otp,aboroska/otp,RaimoNiskanen/otp,vinoski/otp,rlipscombe/otp,emacsmirror/erlang,dgud/otp,kvakvs/otp,vinoski/otp,g-andrade/otp,dumbbell/otp,bjorng/otp,saleyn/otp,g-andrade/otp,rlipscombe/otp,cobusc/otp,jj1bdx/otp,g-andrade/otp,electricimp/otp,isvilen/otp,kvakvs/otp,mikpe/otp,isvilen/otp,lrascao/otp,matwey/otp,fenollp/otp,electricimp/otp,falkevik/otp,bernardd/otp,jj1bdx/otp,uabboli/otp