[lsan] Common leak checking module.

Leak checking functionality which will be shared between
LSan/ASan/MSan.