[build] fix build break caused by inconsistent version for dlpack (#24802)
### Description
<!-- Describe your changes. -->
Currently some required ADO pipeline fails because of version mismatch
between vcpkg build and non vcpkg build. This PR fixes the failed
builds.
### 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. -->