Enhancing terahertz radiation from femtosecond laser filaments using local gas density modulation