hal: use compr config only for offload usecases

Add check before using compr config codec structure
which is set only for offload usecases.

Change-Id: Ia74e5a20011a0d0c57dbdd97a32d5344c1c283fa
2 files changed