Mexico's hedging its bets in an attempt to insulate itself from a shock that's sent oil exporters reeling.