dirmngr: Simplify error returning inside http.c.