Characterization of terahertz wavefront aberrations using computational shear-interferometry