US retailer Ingles Markets has booked a drop in second-quarter profits as lower gasoline margins hit earnings.