policy_hal: Null check for output profile types

- Voice call with BT fails

- BT output is not setting profile type.While initiating voice
  call, APM closes all opened outputs to fall back to ULL based
  on profile types

- Added null check for profile type for different outputs

Change-Id: Ib577d7fade7f42a0b56ee1f59dc6472ca780f502