crypto: Fix upgrade bug when engine support is missing
crypto: Fix upgrade bug when engine support is missing


library_refc was not checked causing crash
when init_digest_types() was called a second time.

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