JPAKE_CTX_new: check for NULL result when allocating ctx