Magnetoresistance of narrow GaAs-(Al,Ga)As heterostructures in the quasi-ballistic regime