Workaround for CuDNN-8.7+ load bug (#98644)
Preload `cudnn_cnn_infer` and consume `dlerror` to prevent spurious call to `abort()` from `libcudnn.so.8`, if `libnvrtc.so` is missing on the system.
Fixes https://github.com/pytorch/pytorch/issues/97041
Pull Request resolved: https://github.com/pytorch/pytorch/pull/98644
Approved by: https://github.com/ngimel