As Massachusetts leaders keep searching for solutions to the housing crunch, a top academic institution is pointing to the role the state’s building codes play in restricting multifamily development.