[EP Perf] Update cmake (#21624)
### Description
<!-- Describe your changes. -->
update script with cmake 3.30 to unblock EP Perf
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->