Variations of linewidth enhancement factor and linewidth as a function of laser geometry in (AlGa)As lasers