[CUDA] Fix cuda 12.8 build warnings (#26136)
Fix build warnings using cuda 12.8 in Linux like the following:
```
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
gather_block_quantized.cc:95:40: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
95 | for (int64_t i = gather_axis_ + 1; i < data_rank; ++i) {
attention_op_test.cc:304:85: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
304 | } else if (batch_size * q_num_heads * q_sequence_length * total_sequence_length == attn_mask.size()) {
/cast_op_test.cc:1487:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1487 | for (size_t i = 0; i < num_pairs; ++i) {
| ~~^~~~~~~~~~~
```
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>