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