elixir: list-ops: optimize append_with_acc/2 for recursion