added erlang compatibility with enif_make_reverse_list