Transverse momentum dependence of inclusive primary charged-particle production in p–Pb collisions at sqrt(s_NN) = 5.02 TeV