[asan] Move lsan_disabled out of thread context.

Fix for the case where disabler is used in pthread key destructor.