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 gles2 in 8 minutes and 29 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Test
manual build:arch #80179
allowed to fail manual
passed build:asan #80175

00:03:23

passed build:bionic #80178

00:08:13

passed build:buster #80177

00:07:51

passed build:stretch #80176

00:08:28

passed build:ubsan #80174

00:03:21