[sanitizer] findPath for deadlock detector