(__gconv): Deal with outbuf being NULL.