audio_legacy: Convert channels to old enum

Change-Id: Ica7dda26d7c416e2ac87d220b622bccee88ca74a

Conflicts:
	audio/audio_hw_hal.cpp
ifdef usage of legacy audio enum conversion

Without this, devices compiling from source using this HAL layer
as a static whole library will break as they already use the new enum.

Change-Id: I710dbc8b013edd5e59a04a0956c69b49da35b5ba

Conflicts:
	audio/audio_hw_hal.cpp
libaudiohw_legacy: Remove ICS_AUDIO_BLOB def. Should be defined in
device, not here. Fixes build and audio, tested on heroc.

Change-Id: Ibe046fae1fa39a0eb7d1091403fe57cadd7a5b0d
libaudiohw_legacy: Add second #ifdef to set channels when using legacy
audio and not using ics audio blobs.

Change-Id: Icb17006765bf30b69229571cd181f7160d301a87
AUDIOLEGACY

Change-Id: I28f9dd4511c76c0abe1fffed55d9d332ac95f607

Conflicts:
	audio/audio_hw_hal.cpp
Don't convert audio input device api if using legacy device

Change-Id: Idf29553aa1e3c23cad367f26c70c27e9c1aa8f2d