Vortex solutions in the noncommutative torus