CSD: Attenuate the HAL Mel values

In case of absolute volume we now attenuate the MEL values returned also
by the HAL sound dose interfaces. This is just temporary and might need
a better solution in which the audio HAL has access to the attenuation
on a lower level.

Test: atest sounddosemanager_tests + manual dose warning check
Bug: 315218453
Change-Id: I2a2a7743fe0a0fd9bd9fbd5da3d12878360b83c8
3 files changed