audio: Clean up missing memory free's when opening devices/streams am: e44e067612 am: b7e13f1838

Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1585399

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic82ec5a5ac13f220e2fb7cea38167fce2d69c2c7