alsa_sound: Fix for short break in music when touch tone plays

-When touch tone plays for the first time while music playback is
going on, a short break in music happens.
-In checkDeviceMuteStrategies whenever there is a change in device
on an output, tempMute is set. However the same tempMute is used to
decide whether to mute an already existing session on a different output
irrespective of the current active device on that output. Due to this
mute and unmute happens even when there is no real change in device on
a particular output which might cause a short break in playback.
-Add check to ensure that active streams are temporarily muted only
in case of a change in device on that particular output.

CRs-Fixed: 495009
Change-Id: Icbc2afa4516f700b170c1f6801135cc5ca61fbfe
alsa-sound: Fix to sound burst on switching from speaker to headset

 -During device switch stream mute(vol 0) for compressed or lpa
  stream is getting applied after the device set for primary output
  because first it check for primary output, set the device then it
  check for lpa or tunnel output and mute the stream.

 -Set the stream mute for other output(LPA or Compressed) followed
  by device setting for lpa or compressed output and then set the
  device for primary output.

CRs-Fixed: 480077

Change-Id: I6bc1ba5d8df766fbbbffaba4d44f14f7a0be666f