Replace Thread::Invoke with Thread::BlockingCall

BlockingCall doesn't take rtc::Location parameter and thus most of the dependencies on location can be removed

Bug: webrtc:11318
Change-Id: I91a17e342dd9a9e3e2c8f7fbe267474c98a8d0e5
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/274620
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38045}
diff --git a/rtc_base/thread.h b/rtc_base/thread.h
index ad286a8..435aff6 100644
--- a/rtc_base/thread.h
+++ b/rtc_base/thread.h
@@ -349,7 +349,8 @@
 
   // Deprecated, use `BlockingCall` instead.
   template <typename ReturnT>
-  ReturnT Invoke(const Location& posted_from, FunctionView<ReturnT()> functor) {
+  [[deprecated]] ReturnT Invoke(const Location& /*posted_from*/,
+                                FunctionView<ReturnT()> functor) {
     return BlockingCall(functor);
   }