audiohal: Fix UAF of HAL devices in Stream objects
am: 936279e1ff

Change-Id: Id78777accd072722b04d6b0bdc8bf9c219cec861