Fix merge issue (#12459)
* fix build break of GPU TensorRT CI pipeline in PE branch
* fix build break for linux GPU tensorRT CI
* fix error moving a temporary object prevents copy elision
* fix build errors
* fix the merge issue
Co-authored-by: Lei Cao <leca@microsoft.com@orttrainingdev9.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net>