libmedia: Add some ifdefs for QCOM-specific features

Change-Id: Ia811205e7dc2d331a084b4d7230bf35c14882158