Right now need StackSafety info only for -fsanitize=memtag and
target is arch64. In future we will need that for asan, hwasa on
any target.
I assume the only way LTO knows about nothing about sanitizers,
so we should always to insert the pass. However we'd like skip
actual work if not sanitizers where enabled. To do so we can scan
function attributes, but more efficient is just to add a module flag.
Depends on D80039.