Fix compilation issues.

 * Only build when TARGET_QCOM_MEDIA_VARIANT=caf
 * Update makefiles for media-caf path
 * Add ifdefs for QCOM_BSP features

Change-Id: I5a7c3ce1fd7334ab9af04ee27c6efe0620ebae09