beam_bsm: Optimize btb_index()
beam_bsm: Optimize btb_index()

lists:dropwhile/2 and the fun in btb_index_1/2 shows up in the
top 10 list of eprof. Replace dropwhile with a special-purpose
function for a tiny increase in speed.

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