These tests can take a *very* long time to compile and link (especially when
using an assertions-enabled compiler) and are unlikely to find real bugs
in CI testing (other than imported a broken version of googletest or errors
in the compiler/libc++).
This change only enables these internal googletest tests when a new
make flag WITH_GOOGLETEST_INTERNAL_TESTS is passed instead
of always building them when tests are enabled.
However, the GOOGLETEST option remains on-by-default since it
is useful for writing tests.
For the CheriBSD CI setup I disabled building these tests and this reduced
the time our CI runs take by over 10 minutes/25% (the total time is around
30 minutes for a basic compile+boot test depending on Jenkins load).
See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241848