media: protect around all codec_fwk aconfig flag access

This is hopefully a temporary workaround until this functionality
is added to the generated stubs.

Related-Bug: 325389296
Bug: 331666510
Change-Id: Ie08c9241f61e44c8e9857c2cf761fc43ac7fe35f
2 files changed