aacenc: use generational cache instead of resetting.