Thermoinduced magnetization and uncompensated spins in antiferromagnetic nanoparticles