gpg-interface: fix const-correctness of "eol" pointer