Catalyzes the oxidation of malonate semialdehyde (MSA) and methylmalonate semialdehyde (MMSA) into acetyl-CoA and propanoyl-CoA, respectively. Is involved in a myo-inositol catabolic pathway. Bicarbonate, and not CO2, is the end-product of the enzymatic reaction