Gold holds near $4,000 as Fed rate hike bets strengthen dollar