cmake: Use embedded gtest from bioformats

Companion change for https://github.com/openmicroscopy/bioformats/pull/1322

It is hoped that this will correct the Windows linker failures since this will force the same compiler options for both the gtest and the OmeroCpp builds.

--------

Testing: see the above PR; the testing instructions are identical since they both source exactly the same logic.