Add ifdefs for QCOM-specific features

Change-Id: I6e140e0dab9f2ce929c356f9c486309bb7e23099