[M] Change in osmo-mgw[master]: mgw: Split MDCX read-only validation on conn into its own function