[Concept] [PATCH 05/11] boot: Move compression-buffer handling to its own function