The College of Charleston could spend $5.2 million it didn’t expect to pay to house students as it runs out of space on campus.