pkcs11: Use unused return value of C_GetMechanismList