[M] Change in osmo-mgw[master]: mgw: Rename and move code freeing endp connection