Fixes multithreaded-related memory leak tracking.

(Loses support for single-threaded placement new, in favour of
multi-thread support)