Don't copy arguments passed by value with indirection to allocas.
auto merge of #12014 : eddyb/rust/less-copies, r=cmr