More informative logging about resetting compilers.

Slightly changed the deprecation warning test, trying to work around possible
race condition.
Merge pull request #700 from dragos/issue/flaky-deprecation-warning-test

More informative logging about resetting compilers.