avcodec/aacsbr_template: Do not leave bs_num_env invalid