RS: number of existing channels on the heap mem wrong
### Basic info
- Commit SHA: e5a2a984480139a09ac5b2ebc0e83662d7a0a893
- Platform: all
### Bug description
For the reallocaion of the tc/output channels on the heap a wrong number of existing channels is determined in some RS scenarios (ISM/OMASA/SBA), because the number of channels is calculated using `ivas_get_nchan_buffers_dec()`, but already with the settings of the new bit rate instead of the old one.
### Ways to reproduce
(Clear steps or refer to a failing automated test, e.g. with a pipeline link)
<!--- Below are labels that will be added but are not shown in description. This is a template to help fill them.
Add further information to the first row and remove and add labels as necessary. -->
issue