Mortgage rates have touched 8 percent, putting a damper on loan demand and adding to many homebuyers’ affordability woes.