Add "list paths" option to capture-libs

With "--list" the absolute paths of the provided patterns will be
printed in output instead of creating symbolic links.

"--list0" is the same as "--list" except that every matching path will
be terminated by a null character and not a newline.

Possible duplicated sonames will be filtered.

Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
3 jobs for wip/denittis/t17372 in 11 minutes and 27 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Test
passed #16435
build:bionic

00:11:26

passed #16434
build:buster

00:10:56

passed #16433
build:stretch

00:11:24