[MigraphX] Fix potential synchronization problem when ORT_ENABLE_STREAM is true (#22589)
### Description
Replace `hipMemcpy` with `hipMemcpyWithStream`
### Motivation and Context
`hipMemcpy` uses default stream, which may be out of synchronization
with the current stream when ORT_ENABLE_STREAM is defined.