Silence deprecation warnings regarding XCTestObserver, since Xcode 6.0's
unit tests don't work under an SSH session and Xcode 5.1's unit tests
have broken gcov support.  So we need this code.