lib: porting zlib inflate library to master branch

Porting zlib inflate library to support decompression gzip image.
These zlib files are copied form caf/github-madler-zlib/master.
The commit id : 50893291621658f355bc5b4d450a8d06a563053d

Change-Id: I613a1a46caf25a49e3dc6823b098ff1650634b1e
14 files changed