[sanitizer] Move FindThreadByOSIdLocked from lsan to sanitizer_common.