libhardware: Add ifdefs for QCOM audio features

Change-Id: I9d8fd69c1865d8746850f676a8091a968a42750d