Fix duplication of ivas_get_nchan_buffers_dec
Issue: #1859 (closed)
Fix duplication of ivas_get_nchan_buffers_dec by removing ivas_fx variant. Also fix minor BASOP issues in the function.
The current fix does not include switches. I can add them but would prefer not as changes are clearer for humans and git without doing so. My intention is to also rename the function to _fx
-variant before merging but diff is easier to see for review without the change.
Adding @vaclav for review but also @multrus, @tyagiri, etc. could take a look.
Edited by Tapani Pihlajakuja