PR #12897: [GPU] Fix cuDNN GEMM scalar constants test condition.
PR #12897: [GPU] Fix cuDNN GEMM scalar constants test condition.

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


Copybara import of the project:

--
71b57fd71d603bc8c346283796f6859761eef014 by Ilia Sergachev <isergachev@nvidia.com>:

[GPU] Fix cuDNN GEMM scalar constants test condition.

Merging this change closes #12897

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/12897 from openxla:fix_cudnn_tests 71b57fd71d603bc8c346283796f6859761eef014
