[lsan] Unbreak lsan_testlib.cc.

Also, add missing logging output.