[msan] Drain allocator cache when leaving thread.