[sanitizer] Expose __sanitizer_print_stack_trace().

Expose a new interface function for debugging code built with sanitizer tools.
Add an ASan implementation.