Spheroidal expansion and freeze-out geometry of heavy-ion collisions in the few-GeV energy regime