Gap Inc. earnings suffer on higher cost of goods