msi: Fix an off-by-one error when applying embedded transforms.