Fixes two bugs in the high-band attenuation code (gain_fade())