[Concept] [PATCH 14/18] boot: Move image-decompression into a separate function