Effect of the pseudogap on the transition temperature in the cuprates and implications for its origin