Effect of magnetic field on isotope-selective photoionization of atomic samarium using polarized lasers