ASan malloc/free history threads

Reviewed at http://reviews.llvm.org/D4596