Resonantly Enhanced Terahertz Transmission Through Aperiodic Arrays of Subwavelength Apertures