erts: Fix bug in erlang:load_nif/2 sometimes throwing badarg
erts: Fix bug in erlang:load_nif/2 sometimes throwing badarg


if another concurrent code change operation is ongoing.

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