Iterative learning control for an active exhaust noise attenuation valve