agent: Fix error from do_encryption.
* agent/protect.c (do_encryption): Don't mask failure of OUTBUF allocation.