CTA2075: return boolean when adding MediaCodec

Return boolean instead of throwing an exception when the MediaCodec is
not configured properly or does not support loudness annotations.

Test: atest LoudnessCodecConfiguratorTest
Bug: 298463873
Change-Id: I7a32ffadda9ebe1149a843b6257d60a8a5211ff5
3 files changed