The influence of paramagnetic impurities on the dynamic polarization of protons in (La, Nd)2Mg3(NO3)12.24H2O