json: Fix crash by ensuring response is never NULL
* src/gpgme-json.c (encode_and_chunk): Try to always return at least an error. (process_request): Double check that it does not return NULL.
If process_request returns NULL the following strlen on it
would crash.