Get rid of some HTTP/2 related types when NGHTTP2 is not available

This commit removes definitions of some DoH-related types when
libnghttp2 is not available.
70 jobs for !5278 with artem/doh-no-rwlocks in 18 minutes and 38 seconds (queued for 7 seconds)
detached
Status Job ID Name Coverage
  Autoconf
passed #1872225
amd64 linux
autoreconf

00:00:17

 
  Precheck
passed #1872227
amd64 linux
clang-format

00:00:16

passed #1872228
amd64 linux
coccinelle

00:04:11

passed #1872229
amd64 linux
danger

00:00:15

passed #1872226
amd64 linux
misc

00:00:15

passed #1872230
amd64 linux
tarball-create

00:01:48

 
  Build
passed #1872243
amd64 linux
clang:asan

00:01:57

passed #1872246
amd64 linux
clang:buster:amd64

00:00:57

passed #1872249
amd64 libvirt
clang:freebsd12:amd64

00:01:24

passed #1872250
amd64 libvirt
clang:freebsd13:amd64

00:03:08

passed #1872251
amd64 libvirt
clang:openbsd:amd64

00:02:27

passed #1872245
amd64 linux
clang:tsan

00:01:26

passed #1872231
amd64 linux
gcc:alpine3.14:amd64

00:01:10

passed #1872242
amd64 linux
gcc:asan

00:01:47

passed #1872240
amd64 linux
gcc:bionic:amd64

00:00:55

passed #1872235
amd64 linux
gcc:buster:amd64

00:00:41

passed #1872232
amd64 linux
gcc:centos7:amd64

00:00:57

passed #1872233
amd64 linux
gcc:centos8:amd64

00:01:15

passed #1872241
amd64 linux
gcc:focal:amd64

00:01:04

passed #1872237
amd64 linux
gcc:out-of-tree

00:00:57

passed #1872236
amd64 linux
gcc:sid:amd64

00:01:23

passed #1872247
amd64 linux
gcc:softhsm2.4

00:01:00

passed #1872248
amd64 linux
gcc:softhsm2.6

00:00:52

passed #1872234
amd64 linux
gcc:stretch:amd64

00:01:04

passed #1872238
amd64 linux
gcc:tarball

00:01:14

passed #1872244
amd64 linux
gcc:tsan

00:00:58

passed #1872239
amd64 linux
gcc:tumbleweed:amd64

00:00:55

 
  Unit
passed #1872262
amd64 linux
unit:clang:asan

00:01:41

passed #1872265
amd64 linux
unit:clang:buster:amd64

00:01:23

passed #1872268
amd64 libvirt
unit:clang:freebsd12:amd64

00:01:44

passed #1872269
amd64 libvirt
unit:clang:freebsd13:amd64

00:03:24

passed #1872270
amd64 libvirt
unit:clang:openbsd:amd64

00:03:26

passed #1872264
amd64 linux
unit:clang:tsan

00:03:38

passed #1872252
amd64 linux
unit:gcc:alpine3.14:amd64

00:01:38

passed #1872261
amd64 linux
unit:gcc:asan

00:01:39

passed #1872259
amd64 linux
unit:gcc:bionic:amd64

00:01:34

passed #1872256
amd64 linux
unit:gcc:buster:amd64

00:02:21

passed #1872253
amd64 linux
unit:gcc:centos7:amd64

00:01:32

passed #1872254
amd64 linux
unit:gcc:centos8:amd64

00:01:41

passed #1872260
amd64 linux
unit:gcc:focal:amd64

00:01:37

passed #1872257
amd64 linux
unit:gcc:sid:amd64

00:01:27

passed #1872266
amd64 linux
unit:gcc:softhsm2.4

00:01:40

passed #1872267
amd64 linux
unit:gcc:softhsm2.6

00:01:17

passed #1872255
amd64 linux
unit:gcc:stretch:amd64

00:00:38

passed #1872263
amd64 linux
unit:gcc:tsan

00:04:34

passed #1872258
amd64 linux
unit:gcc:tumbleweed:amd64

00:01:24

 
  System
passed #1872281
amd64 linux
system:clang:asan

00:14:22

passed #1872284
amd64 linux
system:clang:buster:amd64

00:11:16

passed #1872287
amd64 libvirt
system:clang:freebsd12:amd64

00:11:30

passed #1872288
amd64 libvirt
system:clang:freebsd13:amd64

00:13:18

passed #1872283
amd64 linux
system:clang:tsan

00:16:44

passed #1872271
amd64 linux
system:gcc:alpine3.14:amd64

00:13:04

passed #1872280
amd64 linux
system:gcc:asan

00:14:55

passed #1872278
amd64 linux
system:gcc:bionic:amd64

00:11:02

passed #1872275
amd64 linux
system:gcc:buster:amd64

00:13:32

passed #1872272
amd64 linux
system:gcc:centos7:amd64

00:11:11

passed #1872273
amd64 linux
system:gcc:centos8:amd64

00:11:22

passed #1872279
amd64 linux
system:gcc:focal:amd64

00:11:42

passed #1872276
amd64 linux
system:gcc:sid:amd64

00:11:11

passed #1872285
amd64 linux
system:gcc:softhsm2.4

00:12:04

passed #1872286
amd64 linux
system:gcc:softhsm2.6

00:12:02

passed #1872274
amd64 linux
system:gcc:stretch:amd64

00:11:20

passed #1872282
amd64 linux
system:gcc:tsan

00:17:02

passed #1872277
amd64 linux
system:gcc:tumbleweed:amd64

00:11:11

 
  Docs
passed #1872289
amd64 linux
docs

00:01:07

 
  Postcheck
passed #1872293
amd64 linux
cppcheck

00:00:25

passed #1872290
amd64 linux
flake8

00:00:19

passed #1872294
amd64 linux
gcov

00:00:34

78.0%
passed #1872291
amd64 linux
pylint

00:00:28

passed #1872292
amd64 linux
scan-build

00:04:20