Error linking blkio-bench.c.o file: undefined reference to `gettid'

Linking fails with an undefined reference to gettid when building libblkio on CentOS 8.3 with glibc 2.28.

Description:
The gettid function is used in blkio-bench.c but is not defined in the glibc 2.28 library, resulting in a linker error during the build process.

$ meson compile -C build
Found runner: ['/usr/bin/ninja']
ninja: Entering directory `build'
[1/37] Generating libblkio.so.1.2.2 with a custom command
+ RUSTFLAGS=' -C debuginfo=0 -C opt-level=3'
+ cargo build --target-dir /home/github/libblkio/build/src/target --release --features _unsafe-op-in-unsafe-fn --color always --locked
    Finished release [optimized] target(s) in 0.02s
warning: the following packages contain code that will be rejected by a future version of Rust: virtio-driver v0.4.1 (/home/github/libblkio/virtio-driver)
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[4/37] Linking target examples/blkio-bench
FAILED: examples/blkio-bench 
cc  -o examples/blkio-bench examples/blkio-bench.p/blkio-bench.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--start-group src/libblkio.so -Wl,--end-group -pthread '-Wl,-rpath,$ORIGIN/../src' -Wl,-rpath-link,/home/github/libblkio/build/src
examples/blkio-bench.p/blkio-bench.c.o: In function `main':
blkio-bench.c:(.text.startup+0x3ec): undefined reference to `gettid'
collect2: error: ld returned 1 exit status
[9/37] Linking target tests/add-remove-queues
ninja: build stopped: subcommand failed.

$ getconf GNU_LIBC_VERSION
glibc 2.28