capture-libs: Match GLESv2 ICDs correctly

To select SONAMES that match a glob pattern, we want to use the
soname-match mode, not the soname mode.

Spotted by @LuigiPiucco on
<https://github.com/NixOS/nixpkgs/issues/100655>.

Thanks: Luigi Sartor Piucco
Signed-off-by: Simon McVittie <smcv@collabora.com>
6 jobs for master in 8 minutes and 27 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Test
manual #80185
allowed to fail manual
build:arch
passed #80181
build:asan

00:03:20

passed #80184
build:bionic

00:08:11

passed #80183
build:buster

00:07:42

passed #80182
build:stretch

00:08:27

passed #80180
build:ubsan

00:03:17