Remove logic for libstdc++ gtest libs.

The libstdc++ linked gtest libraries are no longer necessary.

Change-Id: Ia98263bc2541b6c8fd0b3e22bb6fec85104a2210
Merge "Remove logic for libstdc++ gtest libs."