When the destination had more channels than the source, image_alpha_fix
padded the source by exactly one channel regardless of the actual
difference, so a channel gap greater than one (e.g. a grayscale source
against an RGBA destination) left the tensors mismatched and broke the
downstream blend/composite. Pad by the full channel difference and fill
the added channels with 1.0.