[sanitizer] Move GetStackTrace from ASan to sanitizer_common.