Gold holds in tight range as markets await U.S. midterms