[U-Boot] [PATCH v5 06/10] gzip: add a function to parse the header