The average rate in the U.S. for a 30-year fixed-rate mortgage has exceeded 5%, and is currently at its highest level since 2009.