beam_emu: Clean up calling of the error_handler module
beam_emu: Clean up calling of the error_handler module

There were two separate functions (call_error_handler() and
call_breakpoint_handler()) that were identical except for
the name of the function in the error_handler module being
called. Generalize call_error_handler() by adding a function
name argument so that it can be used for both purposes.

Also let the call_error_handler() return the new program
counter instead of passing it in c_p->i. That slightly decrease
the code size at the call site.

There is also no need to use the Dispatch() macro to yet again
decrease the reduction counter, because that has just been done by
the call instruction that caused the execution of the
call_error_handler or i_debug_breakpoint instruction.

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