Add a DCHECK to RegisterModule to make sure it's called on the controller thread.

BUG=4508
TBR=perkj

Review URL: https://webrtc-codereview.appspot.com/43039004

Cr-Commit-Position: refs/heads/master@{#8925}
diff --git a/webrtc/modules/utility/source/process_thread_impl.cc b/webrtc/modules/utility/source/process_thread_impl.cc
index ca319ad..4ce1675 100644
--- a/webrtc/modules/utility/source/process_thread_impl.cc
+++ b/webrtc/modules/utility/source/process_thread_impl.cc
@@ -130,8 +130,7 @@
 }
 
 void ProcessThreadImpl::RegisterModule(Module* module) {
-  // Allowed to be called on any thread.
-  // TODO(tommi): Disallow this ^^^
+  DCHECK(thread_checker_.CalledOnValidThread());
   DCHECK(module);
 
 #if (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON))