OmeroCpp: Add portability fixes for gtest

Some combinations of gtest and the C++ standard library result in
compile failure due to the objects being tested not having
stream output operators.  Change these assertions to avoid
stream output.
Merge pull request #2900 from rleigh-dundee/cpp-gtest-fixes-dev50

OmeroCpp: Add portability fixes for gtest