Compressibility effects in the dynamics of the Reversed Field Pinch