Nearly two dozen small, private Massachusetts colleges received loans from the federal government’s Paycheck Protection Program to help with losses tied to the coronavirus pandemic.