Retail giant Gap Inc has recorded a slight drop in second-quarter profit, after a poor turnout for summer clearance sales.