contrib: zlib: disable --version-script on static libraries
According to the documentation it's only useful for shared libraries. With recent Android NDK this leads to linking issues with gz_intmax In autotools it's only set with LDSHARED.
https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_chapter/ld_3.html