Magnetization reversal and confinement effects across the metamagnetic phase transition in mesoscale FeRh structures