Charm quark mass dependence of QCD corrections to nonleptonic inclusive B decays