PR #10374: [GPU] Enable cuDNN GEMM fusions only with cuDNN 9+.
PR #10374: [GPU] Enable cuDNN GEMM fusions only with cuDNN 9+.

Imported from GitHub PR https://github.com/openxla/xla/pull/10374


Copybara import of the project:

--
2c1b5d653c8280108ce5e3c356475db1f25eee01 by Ilia Sergachev <isergachev@nvidia.com>:

[GPU] Enable cuDNN GEMM fusions only with cuDNN 9+.

Merging this change closes #10374

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/10374 from openxla:check_cudnn_version 2c1b5d653c8280108ce5e3c356475db1f25eee01
