The U.S. housing market is 3.8 million single-family homes short of what is needed to meet the country’s current demand, according to a Freddie Mac analysis.