Measurement of the centrality dependence of the charged-particle pseudorapidity distribution in proton-lead collisions at sNN−−−√=5.02 TeV with the ATLAS detector