On the compromise between retroactivity attenuation and noise amplification in gene regulatory networks