Gas/solid carbon branching ratios in surface‐mediated reactions and the incorporation of carbonaceous material into planetesimals