Backport of "opus: Fix potential crash when getting unexpected channel position" into 1.22
Backport of !4798 (merged) "opus: Fix potential crash when getting unexpected channel position".
Commits:
- b687e19e opus: Fix crash when getting unexpected channel position