[ASan] Fix PR17867 - make sure ASan doesn't crash if use-after-scope and use-after...