Enable the UndefinedBehaviorSanitizer on supported platforms and fix any failures. Also, remove the `enable_sanitizers.sh` script once we can run `./build.sh -fsanitize undefined` in our build scripts. Related: #73418 #73644 #73927 #73964 #74930 #74964 #75034 #75037