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: I5a7c3ce1fd7334cb9af04ee27c6efe0620ebae09