Fix erlang::concatenate_2
I mistranslated `vec_to_list to `list_from_slice`, when it needed to
be `improper_list_from_slice`, so that the `term` could be used as the
tail of the new list.
@@ -726,7 +726,7 @@ pub fn concatenate_2(
.collect::<std::result::Result<Vec<Term>, _>>()
{
Ok(vec) => process_control_block
- .list_from_slice(&vec)
+ .improper_list_from_slice(&vec, term)
.map_err(|error| error.into()),
Err(ImproperList { .. }) => Err(badarg!().into()),
},
