Fix regression issue in FIPS mode. We need to return a non-locking return code if the user supplied DH parameters are invalid, rather than a blocking code we return if the underlying NSS math engine blows up.
Fix CVE 2023-0767 Fix FIPS review comments.