gnutls: fix session pointer