tests/version: Fix Debianisms

This test asserted that libz.so.1 was in /lib/*-linux-gnu* or
/usr/lib/*-linux-gnu*, but on non-Debian operating systems it could
equally well be in /usr/lib32, /usr/lib, /usr/lib64 or even /usr/libx32.

Signed-off-by: Simon McVittie <smcv@collabora.com>
3 jobs for master in 38 minutes and 59 seconds (queued for 12 minutes and 42 seconds)
Status Job ID Name Coverage
  Test
passed #15834
build:bionic

00:35:46

passed #15833
build:buster

00:34:08

passed #15832
build:stretch

00:36:11