Gold erases gains on rising dollar, fading short covering rally