Weaken dxcore dependency (#24845)
### Description
<!-- Describe your changes. -->
Do a manual load of dxcore.dll so that old Windows versions are still
supported.
### 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. -->
#24771
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>