AudioPolicy: Log the construction duration to mediametrics

The initialization time can be quite significant,
6-7s on a Pixel 6.

Test: adb shell dumpsys media.metrics
Bug: 219958414
Change-Id: I0c08f7137b8c77b88636a4919b16c6435e31eac2
1 file changed