System size dependence of hadron $p_T$ spectra in p+p and Au+Au collisions at $\sqrt{s_{NN}}$ = 200 GeV