gpg: Cleanup error code path in case of a bad trustdb.
* g10/tdbio.c (tdbio_read_record): Fix returning of the error.
Actually the returned error will anyway be GPG_ERR_TRUSTDB but the old
code was not correct.
- Signed-off-by: Werner Koch <wk@gnupg.org>