cli/crypto: fix segfault on failed gmime2 crypto context creation