[BUG] 8379675: test/jdk/sun/security/pkcs11/rsa/GenKeyStore.java uses removed methods

Replaced the certificate generation process in GenKeyStore.java with X509CertImpl.newSigned.