common: Fix -Wunused-variable

Fix a few warnings from unused variables when compiling spice-common
without OPUS or celt051.