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