Fix potential race in CallTest.
Fix potential race in CallTest.

The FrameGeneratorCapturer instances continue to live after
RunBaseTest() returns, and have their own internal task queues. This
means any class that listens for frames may be called after return
from RunBaseTest(), at which point they may be destroyed.

This CL makes sure we remove any capturer before returning.

A specific example of this problem is
VideoSendStreamTest.SuspendBelowMinBitrate

Bug: None
Change-Id: I857566301acce3e32c0888c7a1d2ee3470e6eb28
Reviewed-on: https://webrtc-review.googlesource.com/c/116684
Commit-Queue: Erik Språng <3ab8c90c99d6dd7822e0fad803ab0211dd287ae5@webrtc.org>
Reviewed-by: Niels Moller <0057859e47d61d90529d0f66d9ef692cefedb46a@webrtc.org>
Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#26375}
TimothyGu/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc