Use range-based-for instead of std::for_each and std::mem_fun

std::mem_fun is deprecated in C++11, and removed in C++17. Using C++17
option for building libwebrtc causes build failure. This is found during
upgrading WebKit tree from C++14 to C++17.
This patch replaces std::for_each and std::mem_fun with range-based-for.
We also merge loops for streams_ into one.

Bug: webrtc:9277
Change-Id: I44a7e44ea21fc33ffa9a586ddfea570f97dfacb6
Reviewed-on: https://webrtc-review.googlesource.com/77280
Reviewed-by: Niels Moller <nisse@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23285}
diff --git a/AUTHORS b/AUTHORS
index 8e7e183..83a74af 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -61,6 +61,7 @@
 Korniltsev Anatoly <korniltsev.anatoly@gmail.com>
 Todd Wong <todd.wong.ndq@gmail.com>
 Maxim Pavlov <pavllovmax@gmail.com>
+Yusuke Suzuki <utatane.tea@gmail.com>
 
 &yet LLC <*@andyet.com>
 Agora IO <*@agora.io>