US clothing giant Gap Inc has reported first-quarter earnings that came in at the high end of its recent guidance and above analyst estimates.