[PATCH 08/49] image: Update image_decomp() to avoid ifdefs