Proton Bunch Self-Modulation in Plasma with Density Gradient