sc-hsm: Fix CKR_GENERAL_ERROR when deleting certificates with no private key