Effect of magnetic field configuration on parallel plasma flow during neutral beam injection in Heliotron J