Almost every/any impurity in water affects its melting point. Since, unlike salt, pepper is not terribly soluble in water, I'd guess the effect is minimal. It probably lowers the melting point (that is the usual effect of impurities). Salt, on the other hand, has major effects on the melting/freezing point of water.