Make error log in APM::checkAndSetVolume more useful

Log the contents of the curve which has an invalid index.
Since curves do not change over time, limit logging to one
log message per curve to avoid spamming the log.

Flag: EXEMPT bugfix
Bug: 360937480
Test: atest audiopolicy_tests
Change-Id: Iec9c03e3818bb3a2f92bbce13a42d231964cc438
1 file changed