[Sanitizer] Fix failing sanitizer tests
The new pass manager was enabled by default .
The commit message states the following relevant differences:
- The inliner works slightly differently
- -O1 does some amount of inlining
These tests are affected because they specify -O1 and then check the
reported stack trace.
Differential Revision: https://reviews.llvm.org/D96198