[NFC][sanitizer] Early return for empty StackTraces

Current callers should filter them out anyway,
but with this patch we don't need rely on that assumption.

GitOrigin-RevId: b80affb8a1494560c83c6d2bf1164ff8fe031401
1 file changed