[U-Boot] [PATCH v4 6/9] gzip: add a function to parse the header