fix PKCS11_generate_key_on_board return value was wrong