Fix unterminated string

After gpgme_data_read(3) returns 0 bytes, terminate the buffer string
with `\0`.