[compiler-rt][NFC] Make UBSan tests follow the compiler-rt pattern (#238876)

Summary:
These tests currently do not follow the same pattern as other
compiler-rt tests, primarily by putting the sanitize flag in the
expansion and also we can simplify the requires line by just putting it
on the file type so we don't need to keep typing it.
GitOrigin-RevId: 1c8f071446a5f3a9f71e14cd60c05361109593fc
9 files changed