Revert "Upgrade to CUDNN version for cuda 11.7 (#84859)"
This reverts commit 9064bf2c721ee1df0e3698344412043eb80e4fa7.
Reverted https://github.com/pytorch/pytorch/pull/84859 on behalf of https://github.com/atalman due to Reverting broke periodic tests