IVGCVSW-4129 Fix thread starvation due to low capture periods

* Set default capture period to 10mSec.
* Validate capture period in PeriodicCounterSelectionCommandHandler
  pull it up to 10mSec if it is lower.
* Fix segmentation fault in GatordMock when receive thread closes.

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I9f7ddc70bd99c102c5baef872d28329976a4dc07
diff --git a/include/armnn/IRuntime.hpp b/include/armnn/IRuntime.hpp
index 8003fd9..08db22e 100644
--- a/include/armnn/IRuntime.hpp
+++ b/include/armnn/IRuntime.hpp
@@ -64,7 +64,7 @@
                 , m_OutgoingCaptureFile("")
                 , m_IncomingCaptureFile("")
                 , m_FileOnly(false)
-                , m_CapturePeriod(150u)
+                , m_CapturePeriod(LOWEST_CAPTURE_PERIOD)
             {}
 
             bool        m_EnableProfiling;