gold declines as funds shift to equity