Frontogenesis in the presence of small stability to slantwise convection