Low‐frequency modes in an equatorial shallow‐water model with moisture gradients