gold cuts gain at close as investors show caution