Fix leak on error in tls_construct_cke_gost