[TySan] Make TySan compatible with UBSan (#169036) GitOrigin-RevId: 9e25a423d07bdcc2686defedcd509fb405d250db