json: Ensure that native msging request is string
* src/gpgme-json.c (native_messaging_repl): Ensure that the request is NULL terminated.
This avoids potential memory leaks and access to unmapped memory
in case the request was not terminated.
Other request functions use es_read_line which gurantees NULL
termination.