Remove limited use HAVE_ZLIB wrapper API into separate header as utils.h is used in many places and most source files don't need to drag in the header file from this external dependency. Copyright date(s) taken from original source file / git blame.