The influence of compound nucleus contributions on (d, p) reactions