erlc: properly reuse the right erl_opts in test_compile
erlc: properly reuse the right erl_opts in test_compile

Avoid getting erl_opts twice in test_compile/3, and make sure the
correctly filtered (platform_define, etc.) version is used.

oubiwann/rebar,lrascao/rebar3,lpgauth/rebar,lrascao/rebar,K2InformaticsGmbH/rebar,K2InformaticsGmbH/rebar,zugolosian/rebar3,K2InformaticsGmbH/rebar,norton/rebar,CMoH/rebar,choptastic/rebar,platinumthinker/rebar,K2InformaticsGmbH/rebar,matwey/rebar,jbalint/rebar3,norton/rebar,vladdu/rebar3,fabiankrol/rebar3,sile/rebar3,macintux/rebar,bsmr-erlang/rebar,walrusVision/rebar3,shkumagai/rebar,CMoH/rebar,bsmr-erlang/rebar,macintux/rebar,evnix/rebar,processone/rebar3,rebar/rebar3,kellymclaughlin/rebar3,platinumthinker/rebar,GabrielNicolasAvellaneda/rebar,dcarastan/rebar,norton/rebar,apache/couchdb-rebar,dcarastan/rebar,bsmr-erlang/rebar,saleyn/rebar3,heroku/rebar,benoitc/rebar3,SiDen/rebar,project-fifo/rebar3,fishcakez/rebar3,cloudant/couchdb-rebar,rebar/rebar3,bsmr-erlang/rebar,matwey/rebar,jacktang/rebar,jbalint/rebar3,oubiwann/rebar,rebar/rebar,matwey/rebar,GabrielNicolasAvellaneda/rebar,RubberCthulhu/rebar,lrascao/rebar,linearregression/rebar3,apache/couchdb-rebar,djnym/rebar3,macintux/rebar,platinumthinker/rebar,jacktang/rebar,matwey/rebar,dcarastan/rebar,jacktang/rebar,paulo-ferraz-oliveira/rebar,ferd/rebar3,syl20bnr/rebar,fauxsoup/rebar3,scatterbrain/rebar,apache/couchdb-rebar,surik/rebar3,RubberCthulhu/rebar,csyangchen/rebar,paulo-ferraz-oliveira/rebar,beni55/rebar,benoitc/rebar3,norton/rebar3,scatterbrain/rebar,linearregression/rebar3,csyangchen/rebar,lpgauth/rebar,CMoH/rebar,K2InformaticsGmbH/rebar,norton/rebar,beni55/rebar,SiDen/rebar,processone/rebar3,rebar/rebar,shkumagai/rebar,cloudant/couchdb-rebar,oubiwann/rebar,matwey/rebar,blt/rebar3,evnix/rebar,erlang/rebar3,fauxsoup/rebar3,cloudant/couchdb-rebar,syl20bnr/rebar,evnix/rebar,GabrielNicolasAvellaneda/rebar,choptastic/rebar,fabiankrol/rebar3,syl20bnr/rebar,csyangchen/rebar,lrascao/rebar,scatterbrain/rebar,tsloughter/rebar3,shkumagai/rebar,zugolosian/rebar3,beni55/rebar,sile/rebar3,blt/rebar3,lpgauth/rebar,SiDen/rebar,lrascao/rebar,choptastic/rebar,walrusVision/rebar3,surik/rebar3,project-fifo/rebar3,rebar/rebar,paulo-ferraz-oliveira/rebar,lrascao/rebar,heroku/rebar