U.S. long-term mortgage rates were flat to slightly higher this week, as markets expected the Federal Reserve to cut its benchmark interest rate for the first time in a decade.