Plasma shape effect on the n = 0 stability of RFX-mod-shaped tokamak plasmas