Clean-up use of get_stracktrace in elixir_errors.erl (#6092)
Clean-up use of get_stracktrace in elixir_errors.erl (#6092)

It's possible get_stacktrace won't work outside of catch clauses in the future.

Reference: https://github.com/erlang/otp/pull/1449
kelvinst/elixir,michalmuskala/elixir,gfvcastro/elixir,antipax/elixir,ggcampinho/elixir,kelvinst/elixir,gfvcastro/elixir,lexmag/elixir,lexmag/elixir,beedub/elixir,joshprice/elixir,beedub/elixir,ggcampinho/elixir,pedrosnk/elixir,kimshrier/elixir,pedrosnk/elixir,kimshrier/elixir,antipax/elixir,elixir-lang/elixir