configure.ac: Use pkg-config to find zlib dependency info

Matches what we already do in meson.build

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
12 jobs for zlib.pc in 2 minutes and 7 seconds (queued for 1 second)