gold ends higher after six session drop