Absorption-reduced waveguide structure for efficient terahertz generation