Texas’ sprawling prison and criminal justice system is facing a dangerous staffing crisis that puts inmates and staff at risk — and it could soon run out of room to house the projected number of incarcerated people, according to the state commission that reviews the performance of Texas agencies.