High interest rates and rising losses on commercial real estate threaten hundreds of U.S. banks, mostly smaller regional lenders and community institutions.