https://reviews.llvm.org/D150708 had been reverted because of a stage2/hwasan check failure
(https://lab.llvm.org/buildbot/#/builders/236/builds/4069). That was due to a missing SANITIZER_INTERCEPTOR_
guard for wcslen in sanitizer_common; as a result, the wcslen interceptor had been erroneously
included in hwasan. This sanitizer_common issue was fixed in https://reviews.llvm.org/D150909
Compared to https://reviews.llvm.org/D150708, this patch clears the newly added SANITIZER_INTERCEPTOR_WCSLEN.
This patch also subsumes two minor fixes that had been applied on top of D150708 (unused variables and functions).
Original commit message:
This patch does the bare minimum to import sanitizer_common_interceptors, but
without actually enabling any interceptors or meaningfully defining the
COMMON_INTERCEPT macros.
This will allow selectively enabling sanitizer_common interceptors (if the
appropriate macros are defined), as suggested by Vitaly in D149701.