Support absolute file paths in gtest output.

Properly detect file path if test outputs absolute file path in failure
messages.