LNA with variable attenuator