Gap Q4 profit beats forecasts