[CK] Replace deprecated load_module function in python
(#7833)
## Motivation
Recent pytorch builds with python 3.15 failed in CK due to deprecation
of load_module function. This should fix the issue.
## Technical Details
<!-- Explain the changes along with any relevant GitHub links. -->
## Test Plan
<!-- Explain any relevant testing done to verify this PR. -->
## Test Result
<!-- Briefly summarize test outcomes. -->
## Submission Checklist
- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.