[CRYPTO] tcrypt: Add missing error check