[CUDA] Fix build errors (#27319)
Fix build errors that not caught by CI, but show up in post-merge
builds.
It was caused by two commits:
https://github.com/microsoft/onnxruntime/commit/5a9877a050e6c9a904911ce0f8f375cbc28622e8
and
https://github.com/microsoft/onnxruntime/commit/9adf238ebb270529666891a110443669e01e742a
One commit changed GQA interface, while the other commit uses old GQA
interface.