Mixed evolutionary origins of endogenous biomass-depolymerizing enzymes in animals