COMP: Catch TestDriver ExceptionObject.

The ProcessArgumentsAndRegisterRequiredFactories function is inserted into the
CMake TestDriver.cxx.in template, and there is no opportunity to catch an
exception there.  Exceptions that are possibly thrown by
ObjectFactoryBase::RegisterFactory are caught, and the error message printed
to stderr.

This bug was detected by Coverity Scan.

Change-Id: I7d7015ccdca3520864390f88d266a28fe4259554
Merge topic 'test-driver-exception'

d8fd680 COMP: Catch TestDriver ExceptionObject.